Hi,
System.String class contains the static methods'Compare' and'Equals' which are used for string comparison.
public static int Compare(string strA,string strB)
public static bool Equals(string a,string b)
Please, can someone tell me the difference between these two methods...
Thank you,
The author of this blog entry seems to know:http://blogs.msdn.com/bclteam/archive/2007/05/31/string-compare-string-equals-josh-free.aspx
Interesting.
HI,
Check this out
http://www.vikramlakhotia.com/Difference_between_stringcompare_and_stringEquals.aspx
0 comments:
Post a Comment