console based input in C#
====================
string userName;
Console.WriteLine ("Please Enter your name : ");
userName= Console.ReadLine();
Console.WriteLine ("Welcome {0} ",userName);
Please find that Console.ReadLine() is something like scanf in C language
No comments:
Post a Comment