Kane Jeeves
Active member
- Joined
- May 17, 2006
- Messages
- 44
- Programming Experience
- 5-10
I have an object with three properties, A, B, and C. If A = 1 and B = 2 (for ex. I set them from a db in the object's New routine.) and C is a Readonly property = A + B. Is the addition in C done when the object is being created, or only when the property C is accessed in code somewhere? Seems like it would be only when accessed, but I've learned that some things in .NET are counter-intuitive. :+)
TIA
TIA