What is difference between write and writeline?



What is difference between write and writeline?..

Answer / Kunwar Akram Ali

In .NET, Console.Write writes the output without advancing the cursor to a new line, whereas Console.WriteLine writes the output and advances the cursor to a new line.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Difference between value and reference type. What are value types and reference types?

1 Answers  


When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

2 Answers   Mind Tree,


what class is underneath the sortedlist class?

1 Answers   Siebel Systems,


what is the fastest way to concatenate strings in c sharp?

4 Answers   HCL,


Explain streamreader/streamwriter class?

1 Answers  


What is cache memory in c#?

1 Answers  


What is a nullreferenceexception and how do I fix it?

1 Answers  


Describe ways of cleaning up objects.

8 Answers   Wipro,


What is the difference between null and string empty in c#?

1 Answers  


Are tuples mutable c#?

1 Answers  


Is dictionary a collection?

1 Answers  


How to use reflection to call generic method?

1 Answers  


Categories