We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edfbeda commit 9d8b671Copy full SHA for 9d8b671
docs/csharp/language-reference/operators/delegate-operator.md
@@ -54,7 +54,7 @@ Action a = StaticFunction;
54
Before C# 11, you'd need to use a lambda expression to reuse a single delegate object:
55
56
```csharp
57
-Action a = () = StaticFunction;
+Action a = () => StaticFunction();
58
```
59
60
## C# language specification
0 commit comments