.NET FAQs Unleashed!
 
    
    

What is a carriage return?

Carriage return, often shortened to CR or return, refers to a control character or mechanism used to reset a device's position to the beginning of a line of text.

In .NET, a carriage return is set using the \r escape sequence.

Definition   Display 5555 as 0005555   Initialize string from a char[]   Format decimal as currency   Output int type as hexadecimal string   Display a number in exponential   Display a number as a percent   Is String a reference type   ToString("F2")    @ before double quotes   Carriage return   Escape Sequence Why do we use backslash characters with strings?   String VS. string   \u0042\u0041\u0044  

More Interview Questions.....