WHAT IS LITERALS AND THEIR TYPES?

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
C# 
C#
 1288  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    What is literals and their types?

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!