Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> you can create value types in the CLR (struct in C#), which are always stack allocated

"always stack allocated" for certain values of "always" [1].

[1] https://blogs.msdn.microsoft.com/ericlippert/2010/09/30/the-...



Yeah, you are right! :D

just edited into to avoid being misleading, and pointed the readers to The Authentic Source on the topic :)

Also I have read the book some time ago, but recently I work with Java, so forgot some stuff. :(




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: