Visual Studio 2010 Beta 2
- 2 minutes to read
- edit
Visual Studio 2010 Beta 2 is now available for MSDN subscribers, and generally available on October 21. I haven’t had a chance yet to play around with it, but some of the CLR changes that are very exciting to hear about are:
- The new
String.IsNullOrWhiteSpacemethod indicates whether a string isnull, empty, or consists only of white-space characters. - New overloads have been added to the
String.ConcatandString.Joinmethods that concatenate members of anIEnumerable<T>collections. - The
String.Concat<T>method lets you concatenate each element in an enumerable collection without first converting the elements to strings. - The new
Enum.HasFlagmethod determines whether one or more bit fields or flags are set in an enumeration value. - The
Enum.TryParse<TEnum>method returns aBooleanvalue that indicates whether a string or integer value could be successfully parsed. - You can now easily copy one stream into another with the
CopyTomethod in classes that inherit from theSystem.IO.Streamclass. - New
Path.Combinemethod overloads enable you to combine file paths. - You can now parse
System.Guidstructures. - The new
Microsoft.Win32.RegistryOptionsenumeration lets you specify a volatile registry key that does not persist after the computer restarts. - Registry keys no longer are restricted to a maximum length of 255 characters.
I’m really looking forward to these improvements, particularly Enum.HasFlags, Enum.TryParse, String.IsNullOrWhiteSpace, Guid.TryParse, and Path.Combine(string[]). Of course, since some of these weren’t in Beta 1 (at least as far as I saw), it means revising some of the chapters for my book.