Answers for "use input c#"

C#
5

how to take input in c#

using System;

namespace beginner
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("what is your Name:- ");
            string userName = Console.ReadLine();
            Console.WriteLine("Hello: " + userName);

        }
    }
}
Posted by: Guest on July-01-2021
10

c# input

Console.Write("words");
input = Console.ReadLine();
Posted by: Guest on April-10-2020

C# Answers by Framework

Browse Popular Code Answers by Language