Click here to Skip to main content
15,881,715 members
Home / Discussions / C#
   

C#

 
AnswerCross posted from the lounge and Q and A. Pin
Pete O'Hanlon13-Nov-12 9:13
mvePete O'Hanlon13-Nov-12 9:13 
AnswerRe: C# GoF Design pattern usage Pin
Eddy Vluggen13-Nov-12 11:32
professionalEddy Vluggen13-Nov-12 11:32 
AnswerRe: C# GoF Design pattern usage Pin
Abhinav S13-Nov-12 21:15
Abhinav S13-Nov-12 21:15 
AnswerRe: C# GoF Design pattern usage Pin
Pete O'Hanlon13-Nov-12 22:28
mvePete O'Hanlon13-Nov-12 22:28 
QuestionMethod, Class, Object Reference Pin
C-P-User-312-Nov-12 10:31
C-P-User-312-Nov-12 10:31 
AnswerRe: Method, Class, Object Reference Pin
Pete O'Hanlon12-Nov-12 10:49
mvePete O'Hanlon12-Nov-12 10:49 
GeneralRe: Method, Class, Object Reference Pin
C-P-User-312-Nov-12 13:19
C-P-User-312-Nov-12 13:19 
GeneralRe: Method, Class, Object Reference Pin
Pete O'Hanlon12-Nov-12 20:15
mvePete O'Hanlon12-Nov-12 20:15 
C#
The_User_Clicked_A_Button_Called anInstnace = new The_User_Clicked_A_Button_Called();
That's how you declare an instance. In order to call the method using an instance, the method must NOT be static. As far as mastering the concepts behind C#, I would really recommend this[^] book.

[Edit note]Please change your class and method names to be less cumbersome. You'll thank me in the long run.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

GeneralRe: Method, Class, Object Reference Pin
J4amieC12-Nov-12 21:36
J4amieC12-Nov-12 21:36 
GeneralRe: Method, Class, Object Reference Pin
Pete O'Hanlon12-Nov-12 22:11
mvePete O'Hanlon12-Nov-12 22:11 
GeneralRe: Method, Class, Object Reference Pin
Simon_Whale12-Nov-12 22:06
Simon_Whale12-Nov-12 22:06 
GeneralRe: Method, Class, Object Reference Pin
fjdiewornncalwe13-Nov-12 3:49
professionalfjdiewornncalwe13-Nov-12 3:49 
GeneralRe: Method, Class, Object Reference Pin
C-P-User-313-Nov-12 8:06
C-P-User-313-Nov-12 8:06 
QuestionAdd a Menu Item to the operating system contextmenu Pin
benzarabel12-Nov-12 9:48
benzarabel12-Nov-12 9:48 
AnswerRe: Add a Menu Item to the operating system contextmenu Pin
Eddy Vluggen12-Nov-12 10:44
professionalEddy Vluggen12-Nov-12 10:44 
GeneralRe: Add a Menu Item to the operating system contextmenu Pin
benzarabel12-Nov-12 10:51
benzarabel12-Nov-12 10:51 
GeneralRe: Add a Menu Item to the operating system contextmenu Pin
Eddy Vluggen12-Nov-12 11:18
professionalEddy Vluggen12-Nov-12 11:18 
QuestionTips for a new C# designer... Pin
Maurice Lantier12-Nov-12 9:28
Maurice Lantier12-Nov-12 9:28 
AnswerRe: Tips for a new C# designer... PinPopular
Eddy Vluggen12-Nov-12 10:40
professionalEddy Vluggen12-Nov-12 10:40 
GeneralRe: Tips for a new C# designer... Pin
Maurice Lantier12-Nov-12 10:54
Maurice Lantier12-Nov-12 10:54 
GeneralRe: Tips for a new C# designer... Pin
Eddy Vluggen12-Nov-12 11:18
professionalEddy Vluggen12-Nov-12 11:18 
AnswerRe: Tips for a new C# designer... Pin
BobJanova12-Nov-12 22:23
BobJanova12-Nov-12 22:23 
GeneralRe: Tips for a new C# designer... Pin
Maurice Lantier14-Nov-12 10:19
Maurice Lantier14-Nov-12 10:19 
AnswerRe: Tips for a new C# designer... Pin
S Godrich12-Nov-12 23:48
S Godrich12-Nov-12 23:48 
GeneralRe: Tips for a new C# designer... Pin
Maurice Lantier14-Nov-12 10:15
Maurice Lantier14-Nov-12 10:15 

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.