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
What is difference between managed and unmanaged code?
What is a console operator?
What is the use of oops in c#?
What are the principles of delegation?
To whom a method is accesssed if it is marked as protected internal ?
What is bitwise operator in c#?
what is method overloading in c#?
What is multiple interface in c#?
What is difference between list and ilist in c#?
What is _layout cshtml?
How do I format a string in c#?
What is a factory in c#?
Explain the difference between boxing and unboxing.
What is a predicate in c#?
What is a partial class in c#?