20,095
Loading...
Uploader Comments (PETERTEACH)
see all
All Comments (14)
-
Hats off, real teaching i must say.
-
This is beautifully explained video. hats off...
-
This is very clearly presented. Clearly a lot of work went into this and I will be recommending it to many of my firends. Well done and thank you.
-
Dude! Awesome job! Explained very well. Definitely very helpful and informative.
-
Peter, i dont think you defined what is a delegate at teh begining. you just jumped to the code too fast :(
-
Wow...
-
AWESOME tutorial, so easy, thanks!
-
Peter, you did a fantastic job at presenting this video. Now I know what a delegate is in C#.
-
I wondered this also
Loading...
silly question, but how do you pause the exit of your console app without using console.read() etc. ? The console waits for you to press a key instead, but i don't see any code for that?
btw, good video, i like the calm and detailed approach. Voice recording quality is good too. Nice supplement to a book.
polishpaul 2 years ago
F5 -> app terminates -> console closes.
Ctrl+F5 -> console stays open.
Could set break point before termination.
Could use Console.ReadLine, but that affects non-debug case too, so you can:
if (System.Diagnostics.Debugger.IsAttached)
{ Console.WriteLine("Press any key . . ."); Console.ReadKey();
}
PETERTEACH 2 years ago
Why is it necessary to declare a variable inside the Delegate parameter list?
public delegate void func(string str);
Why not:
public delegate void func(string);
?
1129Irving 2 years ago
It is syntactically required.
PETERTEACH 2 years ago