+ 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 ?
1 Réponse
+ 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