Click here to Skip to main content
15,889,315 members
Home / Discussions / C#
   

C#

 
GeneralRe: Just for fun - what's the output of this? Pin
DominLondon8-Apr-09 5:48
DominLondon8-Apr-09 5:48 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 5:53
Le centriste8-Apr-09 5:53 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 5:56
Rob Philpott8-Apr-09 5:56 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 6:08
Le centriste8-Apr-09 6:08 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:15
Rob Philpott8-Apr-09 6:15 
AnswerRe: Just for fun - what's the output of this? Pin
musefan8-Apr-09 5:59
musefan8-Apr-09 5:59 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:02
Rob Philpott8-Apr-09 6:02 
GeneralRe: Just for fun - what's the output of this? Pin
musefan8-Apr-09 6:08
musefan8-Apr-09 6:08 
hmmm... well as the TestStatic class is not static it can have a constructor, i just didnt know it could be static. but either way any static methods (i.e. SaySomething) can be called without the need to create an instance of your class, which you are not doing in your code. So both calls to the SaySomething method should be successful, can you explain why either would fail? i think not.

Life goes very fast. Tomorrow, today is already yesterday.

GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 6:10
Le centriste8-Apr-09 6:10 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:12
Rob Philpott8-Apr-09 6:12 
GeneralRe: Just for fun - what's the output of this? Pin
musefan8-Apr-09 6:10
musefan8-Apr-09 6:10 
AnswerRe: Just for fun - what's the output of this? Pin
harold aptroot8-Apr-09 6:04
harold aptroot8-Apr-09 6:04 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:05
Rob Philpott8-Apr-09 6:05 
GeneralRe: Just for fun - what's the output of this? Pin
harold aptroot8-Apr-09 6:08
harold aptroot8-Apr-09 6:08 
GeneralRe: Just for fun - what's the output of this? Pin
Rob Philpott8-Apr-09 6:10
Rob Philpott8-Apr-09 6:10 
GeneralRe: Just for fun - what's the output of this? Pin
Le centriste8-Apr-09 11:33
Le centriste8-Apr-09 11:33 
GeneralRe: Just for fun - what's the output of this? Pin
MNantu8-Apr-09 6:15
MNantu8-Apr-09 6:15 
QuestionSelected row in data grid Pin
mrkeivan8-Apr-09 5:08
mrkeivan8-Apr-09 5:08 
AnswerRe: Selected row in data grid Pin
he.david88-Apr-09 6:09
he.david88-Apr-09 6:09 
AnswerRe: Selected row in data grid Pin
Henry Minute8-Apr-09 11:07
Henry Minute8-Apr-09 11:07 
AnswerFound it ! Pin
mrkeivan9-Apr-09 7:28
mrkeivan9-Apr-09 7:28 
QuestionHow to check if a file is encrypted Pin
Russell Napier8-Apr-09 4:49
Russell Napier8-Apr-09 4:49 
AnswerRe: How to check if a file is encrypted Pin
Xmen Real 8-Apr-09 5:01
professional Xmen Real 8-Apr-09 5:01 
AnswerRe: How to check if a file is encrypted Pin
0x3c08-Apr-09 5:02
0x3c08-Apr-09 5:02 
GeneralRe: How to check if a file is encrypted Pin
Russell Napier8-Apr-09 5:10
Russell Napier8-Apr-09 5:10 

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.