Input and output in C#



Input and output in  C#



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MYPROJECT.startup
{


        class startupday1

        {

        static void Main()

        {
            Console.Write("enter name\n");
            string name=Console.ReadLine();
            Console.Write("the name is " + name);
            Console.ReadLine();
        }

 }

 }

OUTPUT


Comments

Popular posts from this blog

Printing Hello World in C#

Passing value without reference in C#