private static int field;
public static int Property
Console.WriteLine("Static constructor - NotStaticClass");
public static void Method()
Console.WriteLine("Static method of NotStaticClass");
public static void Method(int s)
Console.WriteLine("LOverloaded static method of non static class " + s);
public void NetStatMethod()
Console.WriteLine(field);
public static void Main()
NotStaticClass instance = new NotStaticClass();
instance.NetStatMethod();
NotStaticClass.Property = 2;
Console.WriteLine(NotStaticClass.Property);
NotStaticClass.Method(3);