Posted on: 6/19/2012 12:51:55 PM | Views : 242

Hi
I don't know why I'd use funcs over methods. I have the feeling that the example I'm about to give is too simple but it argues my point quite well.
If any one can give me a real world example of why func would be better than a method, that would be great.
This (below) demonstrates a func
Func<int, int> Square = x => x * x; int result = Square(4); Response.WriteLine(result); // 16  
And below a method
   int result = Square(4);
   Response.WriteLine(result); // 16
 &nb ...

Go to the complete details ...