static void Main(string[] args) { joey.PrintText(); mine.PrintText(); AnotherProgram.PrintText(); // from textNamespace. vague, when no use alias. Console.WriteLine("\r\nDONE!"); Console.ReadLine(); }
static void Main(string[] args) { // WHY TORTURE US WITH NONSTATICS AnotherProgram ap = new AnotherProgram(); // WHY TORTURE US WITH NONSTATICS TheClass tc = new TheClass(); Console.WriteLine("Hello World!"); ap.printText(); tc.theMethod(); }
static void Main(string[] args) { Console.WriteLine("Hello World!"); AnotherProgram.printText(); AyyLmao.greetEarthlings(); }