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
Why dictionary is faster than list?
How many types of constructors are available in c#?
Different between method overriding and method overloading?
what are the contents of an assembly ?
what is IComparable
Explain 'structure padding'?
What is the difference between User controls and Custom Controls?
Are there functions in c#?
What is multicast delegate in c# ?
What is a string in c#?
How do you define a predicate?
What are cookies in c#?
What is argument in c#?
What is a class c#?
What is trim in c#?