<p>I've been reading a text about an extension to C# and at one point it says that "An attribute decoration X may only be applied to fields of type Y."</p>

<p>I haven't been able to find a definition for attribute decoration, and I'm not making much sense out of this by exchanging the two.</p>

Not necessarily the most helpful answer I know, but in C# you could do this with a closure:
```
```
var T = Tasks.Task.Create( () => functionToDoWork(SomeParameter) )
```
```