C#6 using static 1.C#6 using static 2.

1 using static System.Console; //1. Using static 2 3 Namespace Test 4 {5 internal class Program 6 {7 private static void Main(String [] args) 8 {9 WriteLine("test"); //2. Omit the need to write Console. It's just syntax sugar. Console.WriteLine("test"); 10} 11} 12}

For now I’m using Instance in singleton mode, omitting the prefix of the class name, which is kind of like using C ++ macro definitions to use instances.