What is literal in c#?



What is literal in c#?..

Answer / Satya Prakash Gautam

A literal in C# refers to a constant value written directly into the code. Examples include integers (10), strings ("Hello World"), and boolean values (true or false).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

What is the root element of an xml file?

1 Answers  


What is the difference between continue and break statement?

1 Answers  


Can I fly with a loop recorder?

1 Answers  


Can struct be static in c#?

1 Answers  


Why main is static in c#?

1 Answers  


Can a method be sealed in c#?

1 Answers  


What is multicast delegate in c# ?

1 Answers  


what is ment by Unboxing?

3 Answers  


Can derived classes have greater accessibility than their base types?

1 Answers  


What is datetime parse in c#?

1 Answers  


Does c# support const methods, properties, or events?

1 Answers  


What is the difference between a field and a property in c#?

1 Answers  


Categories