What is the difference between writeline and write in c#?



What is the difference between writeline and write in c#?..

Answer / Swadesh Deepak

"In C#, 'Console.WriteLine' is a method that writes output to the console and automatically adds a newline character (n), while 'Console.Write' writes output without adding a newline.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What are primitive types in c#?

1 Answers  


What is using keyword?

1 Answers  


Explain the types of comments in c#?

1 Answers  


How to make a class not inheritable other than sealed?

3 Answers  


Can we inherit abstract class in c#?

1 Answers  


What is console application with example?

1 Answers  


How to create multi-dimensional array?

1 Answers   C DAC, CDAC,


Does unity require coding?

1 Answers  


What is an escape sequence? Name some string escape sequences in c#.

1 Answers  


How many classes are there in classification?

1 Answers  


What is a struct in C#?

1 Answers   Arigo Infotech,


How do you specify a custom attribute for the entire assembly?

1 Answers  


Categories