c# Delegates, Events and Lambda Expr for new students

Posted by MarkP on Stack Overflow See other posts from Stack Overflow or by MarkP
Published on 2012-01-06T01:46:11Z Indexed on 2012/12/01 23:04 UTC
Read the original article Hit count: 216

Filed under:
|
|
|

I've been asked by my pointy haired boss to educate our new co-ops (interns) in the ways of C#. I have roughly ~30mins to cover the topics of Delegates, Events and Lambda Expressions. The time restriction is rather tight and the topics are broad. Since I'm not a C# guru, I would like some hints and pointers.

  1. Since my time is short, what points should I cover with respect to the three topics listed above?
  2. What are some good Do's and Dont's when using those three things?
  3. I might have time for a short Lambda Expr demo. What is the most common use of LExpr (probably a Select().Where() statement on an enumerable??) that I could demo?

Thanks.

EDIT: The students have working knowledge of C++ and Java.

© Stack Overflow or respective owner

Related posts about c#

Related posts about events