|
|
submitted by
hockman
4 months, 3 days ago
hockblogs.net — In a lot of projects different users use different string comparison methods. I’ve seen a lot of code where there is a lot of ToLowers(), Equals, equality == operators, string.compare, string.CompareTo, and so on used for comparing strings. All different usages, sometimes for different purposes, but 99% of the time for the same purpose.
Since .NET 2.0 however, Microsoft has new recommendations, and I think it is really a must to read. A link to the new Microsoft recommendations can be found at the end of this article.
|
|
tags:
C# | tag it
Everyones tags: | Your tags: | |
|
|
|
Add a live kick counter to your blog >>
You can even customize the image by choosing your own colors, and then clicking
the button below to update the preview and the html code:
Simply copy and paste this HTML into your blog post.
Users who kicked this story:
No comments so far
|