in

Blog By Bob

Blog by Bob

Visual Studio Encapsulation Woes

I am bitter today. Actually, I am bitter most days. If you aren't a first time reader, you probably already know this.

What am I bitter about today? That I am getting used to seeing something like this:

public string Program

{

get { return _program; }

set { _program = value; }

}

private string _class;

public string Class

{

get { return _class; }

set { _class = value; }

}

private string _location;

public string Location

{

get { return _location; }

set { _location = value; }

}

Simply because you can't highlight a section of private variables and encapsulate them all at once. For having the brightest people, MS can sure be stupid sometimes.

Published Apr 29 2006, 01:42 AM by Bob

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
Copyright © :: BlogByBob.com
Powered by Community Server (Non-Commercial Edition), by Telligent Systems