Exemplo n.º 1
0
        static void Main(string[] args)
        {
            joey.PrintText();
            mine.PrintText();
            AnotherProgram.PrintText(); // from textNamespace. vague, when no use alias.

            Console.WriteLine("\r\nDONE!");
            Console.ReadLine();
        }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
 static void Main(string[] args)
 {
     Console.WriteLine("Hello World!");
     AnotherProgram.printText();
     AyyLmao.greetEarthlings();
 }