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.
Explain Common Type System (CTS)?
What are the rules and regulations which should be followed while creating the well-formed XML document?
Write down the code for selecting an item in ListView control programmatically in the C#?
What is the use of Global.asax file?
Differentiate between the HtmlInputRadioButton or HtmlInputCheckBox control?
Briefly describe garbage collection? Differentiate between garbage collections in .NET 4.0 and previous versions?
State the different ways by which a method can be overloaded?
Explain why does an organization needs to manage the workloads?
Write the name of event handlers which can be included in a Global.asax file?
List the various techniques to authenticate the user in ASP.NET?
18,76,764
1955373 Asked
3,689
Active Tutors
1430761
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!