Delegates Intro 1 of 4

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
20,095
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 10, 2009

Peter Thorsteinson teaching C# Delegates.
peterteach@gmail.com
www.stepuptransform.com

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (PETERTEACH)

  • 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.

  • 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.I­sAttached)

    { Console.WriteLine("Press any key . . ."); Console.ReadKey();

    }

  • 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);

    ?

  • It is syntactically required.

see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • 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...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more