예제 #1
0
		public static int Main(string[] args)
		{
            		using (MainClass mc = new MainClass())
            		{
				try
				{
                    			return mc.Main(args);
                		}
				catch (Exception e)
				{
					Console.Error.WriteLine(e);
					return -1;
				}
            	}
        }
예제 #2
0
 public void MainRun()
 {
     MainClass mc = new MainClass();
     string[] args = new string[] {"hello.exe"};
     mc.Main(args);
 }