Input and output in C# by lay method
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 {0}",name);
Console.ReadLine();
}
}
}
OUTPUT
Comments
Post a Comment