Click here to Skip to main content
15,888,527 members
Home / Discussions / C#
   

C#

 
AnswerRe: COM Documentation? Pin
Dave Kreskowiak7-May-10 8:13
mveDave Kreskowiak7-May-10 8:13 
AnswerRe: COM Documentation? Pin
Abhinav S7-May-10 8:27
Abhinav S7-May-10 8:27 
GeneralRe: COM Documentation? Pin
Dave Kreskowiak7-May-10 9:30
mveDave Kreskowiak7-May-10 9:30 
GeneralRe: COM Documentation? [modified] Pin
Abhinav S7-May-10 17:08
Abhinav S7-May-10 17:08 
GeneralRe: COM Documentation? Pin
Dave Kreskowiak7-May-10 17:24
mveDave Kreskowiak7-May-10 17:24 
GeneralRe: COM Documentation? Pin
Abhinav S7-May-10 17:31
Abhinav S7-May-10 17:31 
GeneralRe: COM Documentation? Pin
Dave Kreskowiak7-May-10 17:52
mveDave Kreskowiak7-May-10 17:52 
QuestionWhy use private static methods? Pin
Gregory Gadow7-May-10 5:20
Gregory Gadow7-May-10 5:20 
I'm translating some C# code into VB. In several places, the author uses static on private functions. My understanding is that static methods are useful only if you are building a toolbox: the keyword tells the compiler to organize the code differently and allow programmers to call the method from the class itself rather than from an instance of the class. Fine and understandable, but what is the use if the method is not publicly available? Is the code better optimized? Or is it a matter of programming style?
AnswerRe: Why use private static methods? Pin
Paladin20007-May-10 5:25
Paladin20007-May-10 5:25 
GeneralRe: Why use private static methods? Pin
Gregory Gadow7-May-10 6:40
Gregory Gadow7-May-10 6:40 
AnswerRe: Why use private static methods? Pin
OriginalGriff7-May-10 5:30
mveOriginalGriff7-May-10 5:30 
AnswerRe: Why use private static methods? Pin
PIEBALDconsult7-May-10 5:32
mvePIEBALDconsult7-May-10 5:32 
AnswerRe: Why use private static methods? Pin
Luc Pattyn7-May-10 5:43
sitebuilderLuc Pattyn7-May-10 5:43 
AnswerRe: Why use private static methods? Pin
Gregory Gadow7-May-10 6:07
Gregory Gadow7-May-10 6:07 
GeneralRe: Why use private static methods? Pin
David Skelly7-May-10 6:32
David Skelly7-May-10 6:32 
GeneralRe: Why use private static methods? Pin
Gregory Gadow7-May-10 6:36
Gregory Gadow7-May-10 6:36 
GeneralRe: Why use private static methods? Pin
PIEBALDconsult7-May-10 7:30
mvePIEBALDconsult7-May-10 7:30 
GeneralRe: Why use private static methods? Pin
Luc Pattyn7-May-10 8:00
sitebuilderLuc Pattyn7-May-10 8:00 
AnswerRe: Why use private static methods? Pin
Abhinav S7-May-10 6:42
Abhinav S7-May-10 6:42 
GeneralRe: Why use private static methods? Pin
AspDotNetDev7-May-10 9:43
protectorAspDotNetDev7-May-10 9:43 
Questionvariables Pin
toto_20107-May-10 4:47
toto_20107-May-10 4:47 
AnswerRe: variables PinPopular
Pete O'Hanlon7-May-10 4:50
mvePete O'Hanlon7-May-10 4:50 
AnswerRe: variables Pin
PIEBALDconsult7-May-10 5:14
mvePIEBALDconsult7-May-10 5:14 
GeneralRe: variables Pin
Luc Pattyn7-May-10 5:21
sitebuilderLuc Pattyn7-May-10 5:21 
GeneralRe: variables Pin
PIEBALDconsult7-May-10 5:25
mvePIEBALDconsult7-May-10 5: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.