Tag Archives: Action

Expression vs. delegates

Using LINQ lambda expressions is fun. But did you know that lambdas can be viewed either as delegates or as expression trees? Specifically, both lines from the following snippet compile successfully: Func<double, string> f = v => v.ToString(); Expression<Func<double, string>> fe = v … Continue reading

Posted in .NET, C# | Tagged , , , , | Leave a comment