public static void Main() { ScriptHost.ConnectDebugger(); //Console.Clear(); //Console.WriteLine(DateTime.Now.ToString()); Console.WriteLine(__FILE__() + ": Hello !"); //for (int i = 0; i < 10; i++) // Console.WriteLine("Hello " + i.ToString()); }
public static void Main() { ScriptHost.ConnectDebugger(); Console.WriteLine("---------------------------------------------------------------------------"); // Must be able to share any data with application itself. Class1.HelloClass1(); if(Class1.dataList.Count < 2) Class1.dataList.Add("testScript::Main"); Console.WriteLine(DateTime.Now.ToString()); Console.WriteLine(__FILE__() + ": Hello ! world"); }
public static void Main() { ScriptHost.ConnectDebugger(); //Class2.dataList.Add("testScript.Main was here"); Console.Clear(); Class2.HelloClass2(); Class1.HelloClass1(); //Console.WriteLine(DateTime.Now.ToString()); Console.WriteLine(__FILE__() + ": Hello !"); //for (int i = 0; i < 10; i++) // Console.WriteLine("Hello " + i.ToString()); }