using System;
using System.Console;
public class Sample
{
public static void main(string args[])
{
//Console.WriteLine("Sample output"); This Statement can be re-write as below because of line no.: 02
WriteLine("Sample Output");
}
}The above sample code snippet will work on Visual Studio 2015 IDE.I am going to explain how we can import the static class with using keyword.
