What is the use of console readline () in c#?



What is the use of console readline () in c#?..

Answer / Viashali Tyagi

Console.ReadLine() is used to read a line of text from the standard input stream (usually the keyboard). It returns a string that represents the line.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the use of ienumerable?

1 Answers  


What is Partial class? What purpose we use it?

6 Answers   ACS, TATA,


What is thread.sleep()?

1 Answers  


What is reference types in c#?

1 Answers  


Explain the Scope of public/private/friend/protected/protected friend.

1 Answers   Rigel Networks, Wipro,


Why are strings immutable c#?

1 Answers  


Explain the difference between object type and dynamic type variables in c#?

1 Answers  


What is use of private class in c#?

1 Answers  


What are the two keywords used to pass a variable by reference in c#?

2 Answers   IBM,


Is c# lazy thread safe?

1 Answers  


Can abstract class have constructor?

1 Answers  


What is join in c#?

1 Answers  


Categories