Maha

Maha

  • NA
  • 0
  • 170.4k

NP42 struct and class

Sep 19 2007 11:37 PM

Hi Guys

 

NP42 struct and class

 

Following website says structs are lightweight classes. Therefore in my view of class can be used instead of struct.

 

Is there any situation only struct can be used? Anyone knows please tell me. It is much appreciated if it is demonstrated with example.  

 

http://www.albahari.com/value%20vs%20reference%20types.html

               

Thank you


Answers (6)