#1 string.CompareTo vs string.CompareOrdina

closed
nobody
None
5
2003-07-19
2002-08-09
Yiyi Sun
No

In C#, the result of string.CompareTo relies on the
Locale settings. It's better to use string.CompareOrdinal
instead.

Yiyi

Discussion

  • Yauheny Mikulski

    Logged In: YES
    user_id=542288

    Yes, you are right, the version of NLucene will work more
    correctly. Thanks.

     
  • Yauheny Mikulski

    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks