View Single Post
  #2  
Old 07-15-2007, 08:03 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
References do exist, all object type vars are references. So y and x in your example would point to same object. And I really have no idea about garbage collection except that Stefan said he thought it was rather nice. For copying objects you would use new ObjectReference(); with a name being optional.
__________________
Reply With Quote