Tech Tutorials Database
GeekArticles Microsoft ASP.NET
 

Avoid Exposing Collections Directly as Properties

 
Author: aspalliance.com
Category: ASP.NET
Comments (0)

.NET makes it easy to create strongly typed collections and expose them as properties of our classes. However, this generally results in a design that fails at encapsulation and exposes too much of the internal state. Learn a few simple techniques to keep from going down this path in this article.

Read More...




Sponsored Links




Read Next: Creating a Login Overlay



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe