Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
AnswerRe: marshaling of the const char * Pin
Ed.Poore11-Mar-07 7:52
Ed.Poore11-Mar-07 7:52 
QuestionPassing member variables as private method arguments? Pin
David Veeneman11-Mar-07 5:38
David Veeneman11-Mar-07 5:38 
AnswerRe: Passing member variables as private method arguments? Pin
S. Senthil Kumar11-Mar-07 5:55
S. Senthil Kumar11-Mar-07 5:55 
GeneralRe: Passing member variables as private method arguments? Pin
David Veeneman11-Mar-07 7:32
David Veeneman11-Mar-07 7:32 
AnswerRe: Passing member variables as private method arguments? Pin
Christian Graus11-Mar-07 4:55
protectorChristian Graus11-Mar-07 4:55 
AnswerRe: Passing member variables as private method arguments? Pin
Leslie Sanford11-Mar-07 16:52
Leslie Sanford11-Mar-07 16:52 
GeneralRe: Passing member variables as private method arguments? Pin
David Veeneman11-Mar-07 7:36
David Veeneman11-Mar-07 7:36 
GeneralRe: Passing member variables as private method arguments? Pin
David Veeneman12-Mar-07 4:14
David Veeneman12-Mar-07 4:14 
Thanks for your feedback--it's very helpful.

I've gotten sold on changing to the way you are doing it now. What I found persuasive was the argument that private methods are first-class members of an object. The are only private in order to hide their workings from the outside world, not because they are somehow inferior. As such, they should have the same access to an object's state as any other method.

That makes a lot of sense to me. I've just refactored a project I'm working on to remove member-variable arguments, and I think it does simplify the code and make it easier to read.

David Veeneman
www.veeneman.com

QuestionGenerate Panel Pin
shamsteady11-Mar-07 5:35
shamsteady11-Mar-07 5:35 
AnswerRe: Generate Panel Pin
Dave Kreskowiak11-Mar-07 6:48
mveDave Kreskowiak11-Mar-07 6:48 
QuestionAutomatically paste into active window from my code Pin
Cedric_NewUser11-Mar-07 5:19
Cedric_NewUser11-Mar-07 5:19 
QuestionHow to create a control panel for my DVD Playback Windows Application Pin
Khoramdin11-Mar-07 4:04
Khoramdin11-Mar-07 4:04 
AnswerRe: How to create a control panel for my DVD Playback Windows Application Pin
Christian Graus11-Mar-07 4:51
protectorChristian Graus11-Mar-07 4:51 
GeneralRe: How to create a control panel for my DVD Playback Windows Application Pin
Khoramdin11-Mar-07 6:16
Khoramdin11-Mar-07 6:16 
QuestionData Adaptor parameter in Sub Pin
moali7211-Mar-07 0:36
moali7211-Mar-07 0:36 
GeneralALREADY POSTED Pin
CPallini11-Mar-07 0:55
mveCPallini11-Mar-07 0:55 
QuestionAdd panel Pin
shamsteady10-Mar-07 23:21
shamsteady10-Mar-07 23:21 
AnswerRe: Add panel Pin
Dawid Mazuruk10-Mar-07 23:27
Dawid Mazuruk10-Mar-07 23:27 
GeneralRe: Add panel Pin
shamsteady10-Mar-07 23:32
shamsteady10-Mar-07 23:32 
QuestionDataGridView Data Filtering Pin
freshonlineMax10-Mar-07 21:19
freshonlineMax10-Mar-07 21:19 
AnswerRe: DataGridView Data Filtering Pin
il_masacratore12-Mar-07 2:47
il_masacratore12-Mar-07 2:47 
QuestionScroll Problem Pin
MHASSANF10-Mar-07 19:34
MHASSANF10-Mar-07 19:34 
AnswerRe: Scroll Problem Pin
sam#10-Mar-07 19:50
sam#10-Mar-07 19:50 
QuestionRe: Scroll Problem Pin
MHASSANF10-Mar-07 21:24
MHASSANF10-Mar-07 21:24 
AnswerRe: Scroll Problem Pin
sam#10-Mar-07 23:25
sam#10-Mar-07 23:25 

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.