I have installed Visual Studio 2015 on a Virtual machine and it is GREAT..! I am making a post on it with screenshots but for now let me tell about some cool Visual C# 2015 preview features
1 Auto-Properties with initializers.
Now you can code something like
Yes this is coming. And setter is not a must while you implement though the property is still assignable at declaration time with a setter like the below
2 Say no to
This is another cool thing, and a dream comes true for us all. Now you can
and this will never return and error and after this you can directly
This is not only for this but we can use any static classes in using and avoid their prefixes when we call their methods. Another good example is
and just call any method in the
Math class which is static.
await in the body of
There are even more things. I will write about them soon.