AcklenAvenue.Data.Sample.ConsoleApp.Program.Main C# (CSharp) Метод

Main() статический приватный Метод

static private Main ( string args ) : void
args string
Результат void
        static void Main(string[] args)
        {
            var container = new Container();
            new ConsoleAppSampleBootstrapper(container).Run();

            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine(
                "Ok, now that the database is populated, we're going to pull the data back out and print some names to the screen:");

            //second, query the database
            QueryTheDatabase(container.GetInstance<ISessionContainer>());

            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("");
            Console.WriteLine("Done.");
            Console.ReadKey();
        }