Click here to Skip to main content
16,005,734 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem if network disconnected while FTP uploading Pin
Shajeel29-May-07 2:02
Shajeel29-May-07 2:02 
GeneralRe: problem if network disconnected while FTP uploading Pin
Iftekhar Naim29-May-07 2:34
Iftekhar Naim29-May-07 2:34 
QuestionMSMQ Pin
vibhas198229-May-07 0:25
vibhas198229-May-07 0:25 
AnswerRe: MSMQ Pin
snorkie29-May-07 16:47
professionalsnorkie29-May-07 16:47 
GeneralRe: MSMQ Pin
vibhas198229-May-07 18:54
vibhas198229-May-07 18:54 
GeneralRe: MSMQ Pin
snorkie30-May-07 7:25
professionalsnorkie30-May-07 7:25 
QuestionQuestion about delegates Pin
Revant Jain29-May-07 0:22
Revant Jain29-May-07 0:22 
AnswerRe: Question about delegates Pin
Christian Graus29-May-07 0:30
protectorChristian Graus29-May-07 0:30 
int MyMethod()
{

return 9;
}

int n = MyMethod();

That's all your code is doing, it's no mystery.


Revant Jain wrote:
If so when CountIt count = counter(); is executed it calls counter() and then just initializes the CountIt object an return it, does it actually go into the anonymous method block code? If not why?


counter() returns an object, which is a delegate. So, this works. When the delegate fires, it will run the anonymous code, because that's how the delegate was defined.

The code is convoluted, but it's correct.


Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

QuestionMail merge fields in wordpad or pdf Pin
Farhan Ali29-May-07 0:18
Farhan Ali29-May-07 0:18 
QuestionMicrosoft Office PowerPoint Version error Pin
mmayur28-May-07 23:55
mmayur28-May-07 23:55 
QuestionFree .net Winform UI Library Pin
Gal Edvi28-May-07 23:34
Gal Edvi28-May-07 23:34 
AnswerRe: Free .net Winform UI Library Pin
originSH29-May-07 0:09
originSH29-May-07 0:09 
QuestionSAP .Net help Pin
sohne28-May-07 23:30
sohne28-May-07 23:30 
Questionhttpwebresponse Pin
TAREQ F ABUZUHRI28-May-07 22:38
TAREQ F ABUZUHRI28-May-07 22:38 
AnswerRe: httpwebresponse Pin
Martin#28-May-07 23:28
Martin#28-May-07 23:28 
GeneralRe: httpwebresponse Pin
Albert Dadze29-May-07 0:38
Albert Dadze29-May-07 0:38 
GeneralRe: httpwebresponse Pin
Martin#29-May-07 0:53
Martin#29-May-07 0:53 
Questionhttpweb rsponse Pin
TAREQ F ABUZUHRI28-May-07 22:08
TAREQ F ABUZUHRI28-May-07 22:08 
QuestionDotNetBar's tabControl Pin
jason_mf28-May-07 22:06
jason_mf28-May-07 22:06 
AnswerRe: DotNetBar's tabControl Pin
Martin#28-May-07 22:10
Martin#28-May-07 22:10 
GeneralRe: DotNetBar's tabControl Pin
jason_mf28-May-07 22:16
jason_mf28-May-07 22:16 
GeneralRe: DotNetBar's tabControl Pin
Martin#28-May-07 22:30
Martin#28-May-07 22:30 
GeneralRe: DotNetBar's tabControl Pin
jason_mf28-May-07 22:39
jason_mf28-May-07 22:39 
GeneralRe: DotNetBar's tabControl Pin
Martin#28-May-07 23:17
Martin#28-May-07 23:17 
Questionhow i can read a file remotely Pin
devesh_code28-May-07 21:40
devesh_code28-May-07 21:40 

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.