01.Blogs :
Didith  
A blog about the stuff that keeps life interesting, meaningful, and fun.

Structs vs classes; Back to reality

Thanks, everyone, for all the guidance.  I will look at the references you suggested. 

Re: structs vs classes.  I do understand the difference in terms of values vs. reference types.  I guess my question is what's an example of a situation when you would use a struct instead of a class.  Both can contain methods.  Both can contain fields.  One is allocated on the stack, one on the heap.  You can't inherit from a struct.  You can create a sealed class from which you can't inherit either.  So why use a struct at all?  Why not just use a class or a sealed class instead?

***

Up to about mid-afternoon yesterday, I was blissfully immersed in C# programming.  I am enjoying this class so, so much!  And then reality came crashing down.

The official memo finally came from CHED with the application form for Center of Excellence (COE) status.  DISCS is currently a Center for Development for Excellence (CODE), which is a rung lower than COE.  This year, for the first time, CHED is granting COE status to qualified universities.  Putting together the application means compiling volumes and volumes of documentation.  Oh and the deadline is May 30.

posted on Wednesday, April 26, 2006 10:25 AM by Didith


 
03.UPDATE CALENDAR :
<April 2006>
SunMonTueWedThuFriSat
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

05.MY LINKS :

07.Subscriptions :

Subscriptions


© Copyright 2005 Microsoft Corporation. All Rights Reserved.
Terms of Use | Privacy Statement | Code of Conduct | Hosted by MaximumASP for Microsoft
WHO-BAR