Run() public method

public Run ( ) : void
return void
Example #1
0
 static void Main(string[] args)
 {
     try
     {
         using (var app = new ConsoleApp())
             app.Run();
     }
     catch (Exception ex)
     {
         Console.WriteLine("App Error: " + ex.Message);
     }
 }
Example #2
0
 static void Main(string[] args)
 {
     try
     {
         using (var app = new ConsoleApp())
             app.Run();
     }
     catch (Exception ex)
     {
         Console.WriteLine("App Error: " + ex.Message);
     }
 }