Understanding Properties in Java and C#
This is a long and technically complex tutorial lesson. Therefore, I have broken it into six parts. You should be able to finish reading each part in one sitting.
Part 1 explains properties in general, based on a real-world scenario with which we are all familiar.
Part 2 provides a detailed explanation of Java properties.
Part 3 explains C# properties from the viewpoint of the general user, and compares C# properties at that level with Java properties.
Part 4 explains C# properties from the viewpoint of the sophisticated user (based on reflection) and compares C# properties at that level with Java properties.
Part 5 provides a summary of the entire tutorial lesson.
Part 6 contains complete program listings for several Java and C# programs used for illustration elsewhere in the lesson.
Click below to read this article at the Gamelan.com website:
Gamelan.com is a leading site for Java articles, tutorials, news, discussions, and other resources. As a part of the Developer.com network of sites, Gamelan.com is aimed at professionals interested in development related topics. Gamelan.com is part of the internet.com network of websites with content for IT professionals.