The Convert Anonymous Method To Lambda refactoring allows you to easily convert an anonymous method to a lambda expression.
Note |
|---|
Language Support Supported: C# Not relevant: VB.NET, JavaScript, ASP.NET, XAML, HTML |
To convert an anonymous method to a lambda expression
Move to the anonymous method you want to convert.
From the Refactor menu of the VisualAid choose To Lambda.
JustCode will replace the anonymous method with a lambda expression.
See Also