Click here to Skip to main content
15,917,795 members
Home / Discussions / C#
   

C#

 
GeneralRe: Double buffering Pin
S O S22-Mar-03 3:19
S O S22-Mar-03 3:19 
GeneralRe: Double buffering Pin
Chris Jobson22-Mar-03 6:29
Chris Jobson22-Mar-03 6:29 
GeneralRe: Double buffering Pin
S O S22-Mar-03 9:51
S O S22-Mar-03 9:51 
GeneralTaskbar and sounds Pin
EWM21-Mar-03 6:44
EWM21-Mar-03 6:44 
GeneralRe: Taskbar and sounds Pin
Don_s25-Mar-03 3:06
Don_s25-Mar-03 3:06 
GeneralInstance varibles v/s properties Pin
TigerNinja_21-Mar-03 5:55
TigerNinja_21-Mar-03 5:55 
GeneralRe: Instance varibles v/s properties Pin
SimonS21-Mar-03 6:13
SimonS21-Mar-03 6:13 
GeneralRe: Instance varibles v/s properties Pin
TigerNinja_21-Mar-03 6:35
TigerNinja_21-Mar-03 6:35 
This is true thanks.

But, you can controling access with instance vars. too

private m_accessPrivate;

[modify]
good point about the exceptions too. Properties do give better control over the access of inst. vars, but I was just looking for specifics, (i.e. exceptions), I guess another reason would be calculations.

public string MiddleName<br />
{<br />
 get<br />
  { return m_middleName; }<br />
 set<br />
  { m_middleName = value != null ? value : "NA"; }<br />
}







R.Bischoff | C++
 
.NET, Kommst du mit?


GeneralRe: Instance varibles v/s properties Pin
SimonS21-Mar-03 6:50
SimonS21-Mar-03 6:50 
GeneralRe: Instance varibles v/s properties Pin
TigerNinja_21-Mar-03 7:08
TigerNinja_21-Mar-03 7:08 
Questionwindows.forms.timer bug? Pin
Roger Alsing21-Mar-03 4:23
Roger Alsing21-Mar-03 4:23 
AnswerRe: windows.forms.timer bug? Pin
leppie22-Mar-03 18:38
leppie22-Mar-03 18:38 
GeneralRe: windows.forms.timer bug? Pin
Roger Alsing22-Mar-03 20:53
Roger Alsing22-Mar-03 20:53 
GeneralRe: windows.forms.timer bug? Pin
leppie22-Mar-03 21:36
leppie22-Mar-03 21:36 
GeneralRe: windows.forms.timer bug? Pin
Roger Alsing22-Mar-03 22:19
Roger Alsing22-Mar-03 22:19 
GeneralBluetooth Development Pin
TeraCoder21-Mar-03 2:26
TeraCoder21-Mar-03 2:26 
GeneralRe: Bluetooth Development Pin
Paul Watson21-Mar-03 3:09
sitebuilderPaul Watson21-Mar-03 3:09 
GeneralRe: Bluetooth Development Pin
TeraCoder23-Mar-03 4:14
TeraCoder23-Mar-03 4:14 
GeneralCalling a Web Method from a Timer Method Pin
mafia14421-Mar-03 1:14
mafia14421-Mar-03 1:14 
Generalcircular ref in control <--> form Pin
Roger Alsing20-Mar-03 22:14
Roger Alsing20-Mar-03 22:14 
General[RegExp] Capture class and Group class Pin
Nish Nishant20-Mar-03 15:53
sitebuilderNish Nishant20-Mar-03 15:53 
GeneralRe: [RegExp] Capture class and Group class Pin
Anonymous20-Mar-03 19:06
Anonymous20-Mar-03 19:06 
GeneralRe: [RegExp] Capture class and Group class Pin
Jim Hollenhorst20-Mar-03 19:52
Jim Hollenhorst20-Mar-03 19:52 
GeneralRe: [RegExp] Capture class and Group class Pin
Nish Nishant20-Mar-03 20:37
sitebuilderNish Nishant20-Mar-03 20:37 
GeneralRe: [RegExp] Capture class and Group class Pin
Nish Nishant20-Mar-03 20:38
sitebuilderNish Nishant20-Mar-03 20:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.