Is string reference type / value type ?
Answer Posted / narayansahu
It's a common misconception that string is a value type.
That's because its immutability makes it act sort of like
a value type. It actually acts like a normal reference type
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Do we get an error while executing the “finally” block in c#?
When would you use generics in your code c#?
State whether it is true to test a Web service you must create a windows application or Web application to consume this service or not?
Can you declare struct members as protected?
Describe ado.net?
Is c# static or dynamic?
what optimizations does the c# compiler perform when you use the /optimize+ compiler option?
What is icomparer in c#?
if you do have a stack overflow profile.what is your ranking?
What are the access modifiers in c#?
how background thread access to ui control?
Enlist the different types of classes in c#?
Explain states of a thread in c#?
Why do we use public static void main in c#?
What is difference between ilist and list in c#?