Why string behaves like value types? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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
2nd Dec 2020, 1:12 PM
Arsenic
Arsenic - avatar