Skip to main content

Timeline for Class Versus Struct

Current License: CC BY-SA 3.0

18 events
when toggle format what by license comment
Oct 29, 2014 at 12:38 comment added Esben Skov Pedersen @jk. I know that structs go inline where ever you put them in C#. My point is the semantics of structs are totally different from c++
Oct 29, 2014 at 12:34 comment added jk. @EsbenSkovPedersen no blogs.msdn.com/b/ericlippert/archive/2010/09/30/…
Oct 29, 2014 at 12:16 comment added Esben Skov Pedersen @Aaronaught but in C# is has everything to with stack vs heap which is why you talk about this as a general concept between languages.
Oct 29, 2014 at 12:10 history edited Doc Brown CC BY-SA 3.0
remark added to remove the false assumption from the question
S May 28, 2013 at 2:08 history suggested culix CC BY-SA 3.0
copyedit language
May 28, 2013 at 1:29 review Suggested edits
S May 28, 2013 at 2:08
Mar 19, 2012 at 6:50 history edited BЈовић
edited tags
Jul 31, 2011 at 13:28 comment added Aaronaught Wrong, wrong, wrong. Stack vs. heap has nothing to do with the difference.
Jul 31, 2011 at 12:25 comment added jojo Uhhhh. In C++ you can allocate objects on the stack or heap. Wherever you want.
Jul 30, 2011 at 15:56 comment added Job The difference between classes and structs is language-dependent. Some lessons from C++ do not really apply to C#.
Jul 30, 2011 at 14:26 comment added Umair A. your question answers this itself I think.
Jul 30, 2011 at 13:20 vote accept prometheuspk
Jul 30, 2011 at 13:14 comment added prometheuspk by abandon I meant why one is used over the other.
Jul 30, 2011 at 13:12 history edited prometheuspk CC BY-SA 3.0
formatting
Jul 30, 2011 at 13:05 answer added ratchet freak timeline score: 2
Jul 30, 2011 at 10:04 answer added blubb timeline score: 11
Jul 30, 2011 at 10:00 answer added Joris Timmermans timeline score: 19
Jul 30, 2011 at 9:56 history asked prometheuspk CC BY-SA 3.0