.NET FAQs Unleashed!
 
    
    

What will the following display: “\u0042\u0041\u0044”?

This will display the word “BAD”. Note that \u is an escape sequence for displaying hexadecimal characters. \u  is followed by four characters that represent a hexadecimal character. The alphabet equivalents of hexadecimal characters start with \u0041 which is equal to the character ‘A’.

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.....