What is string literal in c#?



What is string literal in c#?..

Answer / Lalan Singh

A string literal in C# is a sequence of characters enclosed within double quotes, for example: "Hello World". It is an immutable data type.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can you explicitly call a destructor?

1 Answers  


What is difference between static and readonly in c#?

1 Answers  


What is semaphore in c#?

1 Answers  


Does c# support try-catch-finally blocks?

1 Answers  


how to return morethan one value using out parameter in c#.net ; For Example : public int show(out int []a) { int []a={1,2,3,4,5}; return a[]; } we have to print all the values without using the Console.WriteLine statement;

1 Answers   Verizon,


What is the difference between class and abstract class?

9 Answers  


If you want to write your own dot net language, what steps you will u take care?

1 Answers  


What does using do in c#?

1 Answers  


Is list a collection c#?

1 Answers  


Name any three ways to pass parameters to a method in c#?

1 Answers  


what is main function of alternate teamplate of datalist?

1 Answers  


Does c# supports destructors?

9 Answers   Choice Solutions,


Categories