What's new in System.String in .NET 2.0

Posted: (EET/GMT+2)

 

I'm yet to hear of an application that doesn't use strings. That said, the System.String class (or the Delphi/C# string type equivalent) is one class I use very often.

But, did you take your time to study what's new in System.String when .NET 2.0 came out? Actually, there's a lot of new stuff! Late last year, I made a blog post about and MSDN article, but even that article only briefly touched the subject.

Well, I'm not going to do a full-fledged research either, but here are some pointers to methods that are new (or rather, have new overloads):

  • String.Compare method
  • String.EndsWith method
  • String.IndexOf method
  • String.IsNormalized method
  • String.Split method

As you can see, there's lot to learn. For your information, I'm working on an utility to list all the changes between .NET 1.1 and .NET 2.0 for any BCL class. Stay tuned.