Thread: OO and U
View Single Post
Old 05-11-2010, 09:07 AM   #16
ZedMan
Scoring Winger
 
Join Date: Apr 2008
Exp:
Default

C# is more like java than C or C++. There are no pointers per se, only references. There are no copy constructors. To accomplish the same thing, you can write a constructor that takes as a parameter a reference to an existing object, and use that explicitly.

For example: http://msdn.microsoft.com/en-us/libr...16(VS.80).aspx

Last edited by ZedMan; 05-11-2010 at 09:11 AM.
ZedMan is offline   Reply With Quote