• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
+ 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 ?

c#.net
2nd Dec 2020, 12:13 PM
Mahdi‎
Mahdi‎ - avatar
1 Odpowiedź
+ 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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
I've a HTML code question
1 Votes
How my gradient is so mess I code in vscode and copied here to ask some questions please help me with this one too
0 Votes
C++
1 Votes
Offline AI Model with Fast Voice Chat
2 Votes
Please tell me about methods
1 Votes
HELP ME LEARN
0 Votes
Appointment Booking website
0 Votes
Does anyone know how to go to another "page" on the same page using the HTML button tag?
2 Votes
Mentors
1 Votes
Sololearn coders should sharpen their knowledge. What should be the output? Sololearn says it's 20. Do you agree with them?
0 Votes