Literals used in C sharp
Write the different types of literals used in C #?
Expert
Different types of literals used in C# are:
1. String literals : It refers to a string literals, that can be of two types in C#:
2. The regular string literal comprises of zero or more characters enclosed in the double quotes, like "hello".
3. Verbatim string literal comprises of a @ character followed by the double-quote character, like @"hello".
4. Integer literals – It refers to the literals which are used to write values of the types int, long, uint and ulong.
5. Real literals – It refers to the literals which are used to write the values of types decimal , float and double.
6. Character literals: It represents the single character which generally consists of the character in quotes like 'a'.
7. Boolean literals – It refers to a True and False literals which map to the true and the false states, respectively.
8. The Null literal – It symbolize a null-type.
Briefly explain the term ExpandoObject?
Explain the use of a toolstrip container?
What do you mean by the term Transport and Message Reliability?
In ASP.Net which namespaces imported automatically by Visual Studio?
What do you know about parameter and explain new types of the parameters introduced in the C# 4.0?
Write the use of MaxDate and MinDate properties of a MonthCalender control?
What is the function of DialogResult property of the Button control?
List the basic characteristics of the Cloud computing?
State the different ways by which a method can be overloaded?
Write the syntax of the for loop in C# code?
18,76,764
1945989 Asked
3,689
Active Tutors
1443918
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!