Tech News

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
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x