How to take Input from User in C Sharp or C#


 


using System;

public class csharp{

public static void Main(){

    string s;

Console.WriteLine(" enter the value");

    s= Console.ReadLine();

    Console.WriteLine("your answer is "+ s);

}

}


Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.