+ 1

Why string behaves like value types?

As we know string is a reference type , but it is like value types , for example it doesn't want new kyword to instantiate , and etc. Wy ?

2nd Dec 2020, 12:13 PM
Mahdi‎
Mahdi‎ - avatar
1 Answer
+ 3
Found a similar question on stackoverflow which might interest you 👇 https://stackoverflow.com/questions/636932/in-c-why-is-string-a-reference-type-that-behaves-like-a-value-type
2nd Dec 2020, 1:12 PM
Arsenic
Arsenic - avatar