View Single Post
  #4 (permalink)  
Old 09-21-2007, 07:25 AM
ccoonen ccoonen is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Location: Wisconsin
Posts: 317
iTrader: (0)
ccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished road
Yup, constructor's are the definition on how to create a new object.

Dim Chet as New Person()
I used the New Keyword so it "Instantiated" a new Object of Type Person as Variable name Chet.


Destructors are yup, clean memory, remove itself from memory so Garbage Collector can come sweep it up

Whoops, i shoulid probably look what forum I'm in before I answer in a different programming langauge, hehe

Last edited by Lee : 09-21-2007 at 11:40 AM. Reason: Please edit your last post!!! :)
Reply With Quote
The Following User Says Thank You to ccoonen For This Useful Post:
HelloWorld (09-23-2007)