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.
Specify some of the situations in which AJAX cannot be used.
Write the main difference between a RichTextBox and TextBox control.
List the classes which are introduced in the System.Numerics namespace?
What we can do to allot page specific attributes in the ASP.NET application?
What will happen if the ASP.NET server control with the event-handling routines is absent from its definition?
How to access information about a user's locale?
Write down the importance of delegates. Where must they be employed? Write down the conditions where we need them?
Explain the purpose of the JIT compiler in .NET Framework?
Explain concept of the Destructor?
What do you mean by the term delegate, why must you use it and explain how do you call it?
18,76,764
1936088 Asked
3,689
Active Tutors
1431403
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!