Exemplo n.º 1
0
        static void Main(string[] args)
        {
            var myName       = "Fiqri Ismail";
            var helloMessage = new HelloUniverse();

            Console.WriteLine(helloMessage.SayHello(myName));
            Console.ReadLine();
        }
        public IActionResult About()
        {
            ViewData["Message"] = "Your application description page.";

            var myName       = "Fiqri Ismail";
            var helloMessage = new HelloUniverse();

            ViewData["HelloMessage"] = helloMessage.SayHello(myName);

            return(View());
        }