yysun's space

C# Feature Presentation

Posted on: December 28, 2007

Here are the slide deck and source code used in my presentation about C# features for fellow developers. Topics include:

C# feature demo: Find even number from a list of integers:

  • C# 1.x – Loop in Collection (Array)
  • C# 1.x – Delegate (Custom Delegate)
  • C# 2.0 – Iterators (yield return)
  • C# 2.0 – Delegate (Predicate<T>)
  • C# 2.0 – Anonymous Method
  • C# 3.0 – Lambda Expression
  • C# 3.0 – LINQ (Language integrated Query)
  • C# 3.0 – Extended Method

LINQ demo: Match orders with appraisers

  • Select: Default, Anonymous Class, Dictionary
  • Where: Static, Dynamic Query
  • Group: Aggregation, e.g. count
  • Join: Inner Join, Out Join, Group Join
  • Order: e.g. order by count desc



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


  • None
  • Pk: The horizontal view is a pleasure to use! Good thinking
  • randyburden: A valiant and commendable effort. Your use of Tuple is a little weird but it offers a feature that most other microORMs don't. Your use of a static Gu
  • reav: great work done on Rabbit Framework. just started to learning it, and by now i think it will solve all my problems and questions, that i had in webpag


%d bloggers like this: