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

Posted on    November-13-2013 11:11 PM

 C# C# 
Ratings:
 1 Answer(s)
  1083  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
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