static void Main(string[] args) { var c = new Class1(); Console.WriteLine("OK"); Console.ReadLine(); }
static void Main(string[] args) { Class1 obj = new Class1(); Console.WriteLine(obj.MyProperty); }