E
Emmanuel Godet
Hi,
can someone explain the following extract from Jess Liberty's C# book
(very end of chapter on structs)?
"Be careful about using properties. Although these allow you to
support encapsulation by making the actual values private, the
properties themselves are actually member methods and you cannot call
a member method until you initialize all the member variables". I
don't understand what he means.
Cheers,
Emmanuel
can someone explain the following extract from Jess Liberty's C# book
(very end of chapter on structs)?
"Be careful about using properties. Although these allow you to
support encapsulation by making the actual values private, the
properties themselves are actually member methods and you cannot call
a member method until you initialize all the member variables". I
don't understand what he means.
Cheers,
Emmanuel