how to get input from user in c# console application
  • I want to know how to take input from user in c# console application.

  • 1 Comment sorted by
  • string userName;
    Console.WriteLine("Enter your name:");
    userName = Console.ReadLine();
    Console.WriteLine("Welcome {0}!", userName);

    readline is a function to get inpuet in console application and write line for output
    for further details and related topics

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook


Popular Posts of the Week

    Optimum Creative