Home > DeveloperSection > Interviews > What is literals and their types?

Posted on    November-13-2013 11:11 PM

 C# C# 
 1 Answer(s)
  1062  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    November-13-2013 1:00 AM

Literals are value constants assigned to variables in a program. C# supports several types of literals are

  • Integer literals
  • Real literals
  • Boolean literals
  • Single character literals
  • String literals
  • Backslash character literals

Don't want to miss updates? Please click the below button!

Follow MindStick