static void Main(string[] args) { Myclass my = new Myclass(); my.CallMethod(); Console.ReadKey(); }
public void CallMethod() { my = new Myclass(); my.Method(); }