Properties using

Craig Black craigblack2 at cox.net
Mon Mar 31 21:59:10 PDT 2008


Looks like you are coming from C++ and expect classes to serve as value 
types.  This is not true in D.  Like C#, classes are reference types and 
structs are value types.  You may want to use structs instead of classes.

-Craig



More information about the Digitalmars-d-learn mailing list