Example of when the culture parameter of string.Equals (c#) actually makes a difference?
- by dru-zod
I don’t fully understand the second parameter of string.Equals, and this is because I can’t find any examples of when it would actually make a difference. For example, the example given here is the same, regardless of the value of the second parameter (aside from IgnoreCase):
http://msdn.microsoft.com/en-us/library/c64xh8f9.aspx
I am just talking about the values StringComparison.CurrentCulture, InvariantCulture, or Ordinal.
I can understand the difference between these and their IgnoreCase equivalents.