JustCode

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

  1. Move to the anonymous method you want to convert.

    Convert Anonymous To Lambda Selected
  2. From the Refactor menu of the VisualAid choose To Lambda.

    Convert Anonymous To Lambda Executed
  3. Telerik JustCode will replace the anonymous method with a lambda expression.

See Also

Other Resources