static void Main(string[] args) { Type1 something1 = new Type1(); Type2 something2 = new Type2(); something1.runTest(); something2.runTest(); Console.ReadKey(); }