Monthly Archives: February 2016

Delegates and Lambda Expressions

A lambda expression is a method without a declaration – so no access modifier, no return value declaration and no name. Why should I use a lambda expressions ? 1. Reduces typing – I don’t need to specify the name

Posted in Uncategorized

Why use delegates ?

C# Delegates – Why Delegates ? Why would you go to the trouble of creating a delegate when you could just call the method directly ? This question is often asked when delegates are first introduced. Consider the function static

Posted in Uncategorized
Design a site like this with WordPress.com
Get started