New Features in C# 2.0—Limit Access Within Properties
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
| CSharp-Online.NET:Tutorials |
| C# Tutorials |
| © 2005 O'Reilly Media, Inc. |
Limit Access Within Properties
It is now possible to restrict the accessibility level of the get and set
accessors within a property using access modifiers. Usually you would
restrict access to the set accessor and make the get accessor public.
Now you can restrict the accessibility level of the get and set accessors within a property.
|
|

