Click here to Skip to main content
15,894,017 members
Home / Discussions / C#
   

C#

 
AnswerRe: C# to C++ SEND AND RECIEVED Pin
Eddy Vluggen4-Oct-16 3:01
professionalEddy Vluggen4-Oct-16 3:01 
AnswerRe: C# to C++ SEND AND RECIEVED Pin
Pete O'Hanlon4-Oct-16 3:04
mvePete O'Hanlon4-Oct-16 3:04 
GeneralRe: C# to C++ SEND AND RECIEVED PinPopular
Mycroft Holmes4-Oct-16 12:50
professionalMycroft Holmes4-Oct-16 12:50 
QuestionRunning Powershell scripts in C# fails/no effect Pin
me@dagsunde.com3-Oct-16 22:35
professionalme@dagsunde.com3-Oct-16 22:35 
AnswerRe: Running Powershell scripts in C# fails/no effect Pin
Pete O'Hanlon3-Oct-16 23:44
mvePete O'Hanlon3-Oct-16 23:44 
GeneralRe: Running Powershell scripts in C# fails/no effect Pin
me@dagsunde.com4-Oct-16 0:20
professionalme@dagsunde.com4-Oct-16 0:20 
GeneralRe: Running Powershell scripts in C# fails/no effect Pin
me@dagsunde.com3-Oct-16 23:52
professionalme@dagsunde.com3-Oct-16 23:52 
GeneralRe: Running Powershell scripts in C# fails/no effect Pin
Pete O'Hanlon4-Oct-16 0:34
mvePete O'Hanlon4-Oct-16 0:34 
GeneralRe: Running Powershell scripts in C# fails/no effect Pin
me@dagsunde.com4-Oct-16 1:52
professionalme@dagsunde.com4-Oct-16 1:52 
GeneralRe: Running Powershell scripts in C# fails/no effect Pin
Pete O'Hanlon4-Oct-16 2:03
mvePete O'Hanlon4-Oct-16 2:03 
GeneralRe: Running Powershell scripts in C# fails/no effect Pin
me@dagsunde.com4-Oct-16 20:29
professionalme@dagsunde.com4-Oct-16 20:29 
Questionhow to display a value using delegate ? Pin
forte743-Oct-16 15:56
forte743-Oct-16 15:56 
AnswerRe: how to display a value using delegate ? Pin
Midi_Mick3-Oct-16 17:51
professionalMidi_Mick3-Oct-16 17:51 
AnswerRe: how to display a value using delegate ? Pin
Simon_Whale3-Oct-16 23:35
Simon_Whale3-Oct-16 23:35 
AnswerRe: how to display a value using delegate ? Pin
Sunil Jatolia4-Oct-16 21:06
professionalSunil Jatolia4-Oct-16 21:06 
C#
public static int MyFunc(int b)

Check your method has return type 'int' and you have also returned the value in your method but while you have made call to this method by delegate you are not using the value returning from it. You can either get that value in another variable for further processing

C#
int x = simpleDelegate(4);
Console.WriteLine(x);


or print it directly

C#
Console.WriteLine(simpleDelegate(4));

QuestionGrammar checker Web server - MultiThreaded Application Pin
nqioweryuadfge3-Oct-16 1:57
nqioweryuadfge3-Oct-16 1:57 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
Richard MacCutchan3-Oct-16 2:02
mveRichard MacCutchan3-Oct-16 2:02 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
nqioweryuadfge3-Oct-16 2:13
nqioweryuadfge3-Oct-16 2:13 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
Richard MacCutchan3-Oct-16 2:17
mveRichard MacCutchan3-Oct-16 2:17 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
nqioweryuadfge3-Oct-16 2:19
nqioweryuadfge3-Oct-16 2:19 
AnswerRe: Grammar checker Web server - MultiThreaded Application Pin
Pete O'Hanlon3-Oct-16 2:06
mvePete O'Hanlon3-Oct-16 2:06 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
nqioweryuadfge3-Oct-16 2:11
nqioweryuadfge3-Oct-16 2:11 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
nqioweryuadfge3-Oct-16 2:15
nqioweryuadfge3-Oct-16 2:15 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
Pete O'Hanlon3-Oct-16 3:00
mvePete O'Hanlon3-Oct-16 3:00 
GeneralRe: Grammar checker Web server - MultiThreaded Application Pin
nqioweryuadfge3-Oct-16 3:03
nqioweryuadfge3-Oct-16 3:03 

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.