T
Tony
Hello!
My first question:
I just can't figure out what is the usefulness of
Comparer.Default.Compare(somestring1, somestring2);
because I can just the same use somestring1.CompareTo(somestring2);
One more thing is about the following text:
"Strings are processed according to the current culture. To process strings
according to a different culture(or language)
the Comparer class mus be instansiated using its constructor, which allows
you to pass a System.Globalization.CultureInfo
object specifying the culture to use."
The question is in the text they say different culture(or language) so is
culture not the same as language?
What can it then be if it's not langauge?
//Tony
My first question:
I just can't figure out what is the usefulness of
Comparer.Default.Compare(somestring1, somestring2);
because I can just the same use somestring1.CompareTo(somestring2);
One more thing is about the following text:
"Strings are processed according to the current culture. To process strings
according to a different culture(or language)
the Comparer class mus be instansiated using its constructor, which allows
you to pass a System.Globalization.CultureInfo
object specifying the culture to use."
The question is in the text they say different culture(or language) so is
culture not the same as language?
What can it then be if it's not langauge?
//Tony