Timeline for What is the difference between const and readonly in C#?
Current License: CC BY-SA 2.5
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 8, 2009 at 12:52 | history | edited | Brett Ryan | CC BY-SA 2.5 |
Corrected pointer to reference.
|
Sep 8, 2009 at 12:37 | history | edited | Brett Ryan | CC BY-SA 2.5 |
Spelling correction.
|
Sep 8, 2009 at 12:32 | comment | added | ljs | Not to mention the value itself is immutable, so you can't change it (well, not without some funky evil underhand manipulation). Anyway :) | |
Sep 8, 2009 at 12:31 | comment | added | ljs | I do object, however, to the use of the word pointer here. It's not a pointer, it's a reference, and there is a difference in C# as you can manipulate unmanaged pointers in unsafe mode so it's important to distinguish between the two. | |
Sep 8, 2009 at 12:29 | comment | added | ljs | @Andrew Hare - yes, I just checked. I am very surprised, that is a real gotcha, I'm really very surprised by that, amazed that is the case...! | |
Sep 8, 2009 at 12:27 | comment | added | Russ Cam | my.safaribooksonline.com/0321245660/… | |
Sep 8, 2009 at 12:24 | comment | added | Russ Cam | this is one of the 50 specific ways to improve your C# - amazon.co.uk/Effective-Specific-Ways-Improve-Your/dp/0321245660/… | |
Sep 8, 2009 at 12:23 | comment | added | ljs | I sincerely doubt that is true... I will go check. | |
Sep 8, 2009 at 12:20 | history | answered | Brett Ryan | CC BY-SA 2.5 |