×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
That's something I don't like about the .NET stuff; at least in VB.NET
you
"magically" invoke the setter and getter for a field just by accessing
or
updating the field itself. You can't tell just by looking at the code
whether there really is a getter or setter.
There's _always_ a getter and/or setter if you're accessing a property.
But I'll grant, you can't tell if you're going after a property or a
member variable. Of course, in good OO design, why would you go after a
member variable?
I think it's a style thing so. I can't stand the explicit get/set calls
in Java. :)
-Walden
PS. The getter/setter is actually a method call in the CIL. The method
is called get_PropertyName or set_PropertyName, so they really are
calls. :)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.