static void Main(string[] args) { AB ab = new AB(); ab.AMethod(); ab.BMethod(); Console.ReadKey(); }
static void Main(string[] args) { AB ab = new AB(); ab.APrint(); ab.BPrint(); Console.ReadKey(); }