Click here to Skip to main content
       

C#

 
AnswerRe: C# GoF Design pattern usage PinprotectorPete O'Hanlon13-Nov-12 23:28 
QuestionMethod, Class, Object Reference PinmemberC-P-User-312-Nov-12 11:31 
AnswerRe: Method, Class, Object Reference PinprotectorPete O'Hanlon12-Nov-12 11:49 
GeneralRe: Method, Class, Object Reference PinmemberC-P-User-312-Nov-12 14:19 
Thank you, a lot.
 
When I change this line...
internal void Start_Data_Command_04()
 
...to this line...
 
internal static void Start_Data_Command_04()
 
...then the second error ("Error 1" in my initial example) goes away, but the first one ("Error 2") remains.
 
My attempts to declare an instance of the method produced more compiler errros.
 
If you (or anyone who's reading) could tell me the syntax of how to declare an instance of the method in question, I thank you.
 
More importantly, and an even greater value, would be to show me how to find the syntax for myself.
 
Performing five or ten different searches on Google and Bing, (and MSDN, which is really Bing, as I understand it) using my best guess of how to phrase it, (e.g., with search phrases like, "C#, The specific syntax for Declaring an instance of a static method in another class" and so on) I did not immediately see an example of the syntax for declaring an instance of a static method in another class.
GeneralRe: Method, Class, Object Reference PinprotectorPete O'Hanlon12-Nov-12 21:15 
GeneralRe: Method, Class, Object Reference PinmemberJ4amieC12-Nov-12 22:36 
GeneralRe: Method, Class, Object Reference PinprotectorPete O'Hanlon12-Nov-12 23:11 
GeneralRe: Method, Class, Object Reference PinmemberSimon_Whale12-Nov-12 23:06 
GeneralRe: Method, Class, Object Reference PinmemberMarcus Kramer13-Nov-12 4:49 
GeneralRe: Method, Class, Object Reference PinmemberC-P-User-313-Nov-12 9:06 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 19 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid