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 are desktop applications examples?
What is CASPOL?
Define thread? Explain about multithreading?
What is string interpolation in c#?
Explain About Web.config
What does immutable mean in c#?
Why data types are important in c#?
What is the use of protected in c#?
What do you mean by jagged array?
What are collections in c#?
Can we have only “try” block without “catch” block in c#?
What is the use of 'as' Keyword in C# ?
What is namespace in oops?
Can hashset contain duplicates c#?
What is view state c#?