top of page
Admin

C# Console.ReadLine()

Updated: Jun 23, 2024

Console.ReadLine can be used for string input.


Console.WriteLine("Input a text then press enter");
string text=Console.ReadLine();
Console.WriteLine("The text is : {0}",text);

Output:

Input a text then press enter

test

The text is : test

1 view0 comments

Recent Posts

See All

Reading a csv file by using tcl

Reading a csv file procedure is similar to the other programming languages. # Open the CSV file in read mode set filePath...

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
bottom of page