Click here to Skip to main content
15,915,702 members
Home / Discussions / C#
   

C#

 
QuestionEventRecord's FormatDescription() is super slow Pin
_PitrakSarkar_4-Oct-16 20:05
_PitrakSarkar_4-Oct-16 20:05 
AnswerRe: EventRecord's FormatDescription() is super slow Pin
Pete O'Hanlon4-Oct-16 23:29
mvePete O'Hanlon4-Oct-16 23:29 
GeneralRe: EventRecord's FormatDescription() is super slow Pin
_PitrakSarkar_5-Oct-16 0:07
_PitrakSarkar_5-Oct-16 0:07 
GeneralRe: EventRecord's FormatDescription() is super slow Pin
Lucas Alvarez Lacasa21-Nov-18 8:10
Lucas Alvarez Lacasa21-Nov-18 8:10 
QuestionC# to C++ SEND AND RECIEVED Pin
Jarlo Belledo4-Oct-16 2:14
Jarlo Belledo4-Oct-16 2:14 
AnswerRe: C# to C++ SEND AND RECIEVED Pin
OriginalGriff4-Oct-16 2:28
mveOriginalGriff4-Oct-16 2:28 
AnswerRe: C# to C++ SEND AND RECIEVED Pin
NotPolitcallyCorrect4-Oct-16 2:45
NotPolitcallyCorrect4-Oct-16 2:45 
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 

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.