Click here to Skip to main content
15,887,849 members
Home / Discussions / C#
   

C#

 
AnswerRe: status bar Pin
David Stone9-Oct-05 3:22
sitebuilderDavid Stone9-Oct-05 3:22 
QuestionPropertyGrid scrolls to selected property Pin
biggz_daddy8-Oct-05 17:20
biggz_daddy8-Oct-05 17:20 
AnswerRe: PropertyGrid scrolls to selected property Pin
joegood10-Oct-05 6:21
joegood10-Oct-05 6:21 
QuestionFinding the volume level of the currently recording audio? Pin
karl6438-Oct-05 17:16
karl6438-Oct-05 17:16 
QuestionAccessing property values using GetValue() Pin
mossu8-Oct-05 16:35
mossu8-Oct-05 16:35 
AnswerRe: Accessing property values using GetValue() Pin
Guffa9-Oct-05 0:22
Guffa9-Oct-05 0:22 
GeneralRe: Accessing property values using GetValue() Pin
mossu9-Oct-05 2:38
mossu9-Oct-05 2:38 
GeneralRe: Accessing property values using GetValue() Pin
Guffa9-Oct-05 8:50
Guffa9-Oct-05 8:50 
Accessing the properties directly is of course more simple and efficient than through reflection.

Letting the class itself be responsible for it's own verification makes it much more flexible. You can build any kind of verificaton, and the code that is using the verification method needn't know anything about how it works.

Of course, any changes to the class might affect the verification. On the other hand, it might also affect a number of other things, like serialization or disposal.

To have the verification inside the class itself also makes the code easier to follow. If you get back to the code after a year, it's more likely that you remember that there is any verification at all if it's in the class itself, instead of buried away in some other class.

---
b { font-weight: normal; }

GeneralRe: Accessing property values using GetValue() Pin
mossu10-Oct-05 3:01
mossu10-Oct-05 3:01 
AnswerRe: Accessing property values using GetValue() Pin
S. Senthil Kumar9-Oct-05 3:18
S. Senthil Kumar9-Oct-05 3:18 
GeneralRe: Accessing property values using GetValue() Pin
mossu9-Oct-05 6:05
mossu9-Oct-05 6:05 
QuestionOODBMS are the best solution for Today applications Pin
tolgayikilmaz8-Oct-05 12:16
tolgayikilmaz8-Oct-05 12:16 
AnswerRe: OODBMS are the best solution for Today applications Pin
johhnny8-Oct-05 12:20
johhnny8-Oct-05 12:20 
AnswerRe: OODBMS are the best solution for Today applications Pin
Colin Angus Mackay8-Oct-05 22:26
Colin Angus Mackay8-Oct-05 22:26 
GeneralRe: OODBMS are the best solution for Today applications Pin
tolgayikilmaz9-Oct-05 1:45
tolgayikilmaz9-Oct-05 1:45 
GeneralRe: OODBMS are the best solution for Today applications Pin
Colin Angus Mackay9-Oct-05 1:48
Colin Angus Mackay9-Oct-05 1:48 
AnswerRe: OODBMS are the best solution for Today applications Pin
Kevin McFarlane9-Oct-05 8:29
Kevin McFarlane9-Oct-05 8:29 
QuestionOpening the Form in maximized mode? Pin
E6AD8-Oct-05 12:09
E6AD8-Oct-05 12:09 
AnswerRe: Opening the Form in maximized mode? Pin
S. Senthil Kumar8-Oct-05 20:03
S. Senthil Kumar8-Oct-05 20:03 
QuestionWindowScraping Pin
budidharma8-Oct-05 11:17
budidharma8-Oct-05 11:17 
AnswerRe: WindowScraping Pin
XRaheemX10-Oct-05 5:06
XRaheemX10-Oct-05 5:06 
QuestionTaskbar Applications Pin
jgallen238-Oct-05 11:13
jgallen238-Oct-05 11:13 
QuestionRichTextBox Qeustion Pin
Mohammad A Gdeisat8-Oct-05 10:45
Mohammad A Gdeisat8-Oct-05 10:45 
AnswerRe: RichTextBox Qeustion Pin
mav.northwind9-Oct-05 0:31
mav.northwind9-Oct-05 0:31 
QuestionThreads Pin
ShimiG8-Oct-05 8:32
ShimiG8-Oct-05 8:32 

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.