Timeline for immutable string in array, reference type vs value type
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 23, 2016 at 2:25 | vote | accept | nanonerd | ||
Aug 22, 2016 at 20:41 | comment | added | Robert Harvey |
"behaves like a value type" almost certainly refers to C#'s treatment of the == operator with strings. There's not much else that is comparable.
|
|
Aug 22, 2016 at 20:33 | answer | added | Eric Lippert | timeline score: 5 | |
Aug 22, 2016 at 20:27 | comment | added | Eric Lippert | Your question is hard to answer because it is vague. When you say "behaves like a value type" what do you mean? What behaviours are there in value types that are shared by strings but not by other reference types? | |
Aug 22, 2016 at 16:08 | review | Close votes | |||
Aug 27, 2016 at 3:03 | |||||
Aug 22, 2016 at 16:02 | answer | added | David Arno | timeline score: 1 | |
Aug 22, 2016 at 16:00 | answer | added | JacquesB | timeline score: 5 | |
Aug 22, 2016 at 15:50 | history | edited | Robert Harvey | CC BY-SA 3.0 |
added 30 characters in body
|
Aug 22, 2016 at 15:46 | answer | added | Telastyn | timeline score: 2 | |
Aug 22, 2016 at 15:40 | history | asked | nanonerd | CC BY-SA 3.0 |