Today Microsoft released Visual Studio 2008 and .NET 3.5. My personal favourites are the new language features for C#; automatic properties, extension methods, lambda expressions and anonymous types.
-
Archives
Date: -
More Ads
Today Microsoft released Visual Studio 2008 and .NET 3.5. My personal favourites are the new language features for C#; automatic properties, extension methods, lambda expressions and anonymous types.
Microsoft is promoting F# to be a fully supported programming language in Visual Studio.
F# offers developers many valuable and compelling features without sacrificing much runtime efficiency. F# supports type inference, pattern matching, high-order functions, and currying. F# also supports interactive execution, which means that F# programs can be run like scripts or inputted in an interactive top-level environment similar to the Python shell or Ruby’s IRB. F# also has full access to the .NET APIs and components written in other .NET languages.
Its a good day to be a .NET developer.
A handy tip I just discovered, if you want to convert a String into an Enum type in C#, you can call:
object Enum.Parse(System.Type enumType, string value, bool ignoreCase);
You can then cast this into the required type, and it will save you from creating huge switch statements instead.