This blog post is part of C# 6.0 Features Series.Recently, Microsoft has announced new version of Visual Studio 2015 and I have downloaded it. At the same time I was checking what’s new in Visual Studio 2015 CTP newer version and and I have found that suddenly my c# 6.0 new features solutions stopped working.
The first problem it got is with static class using features. Following was my code.
using System.Console; namespace StaticClassUsing { class Program { static void Main(string[] args) { WriteLine("With using statement"); } } }
Now when you run this it was giving error like following.