February 09, 2009 Re: Lambda syntax, etc | ||||
|---|---|---|---|---|
| ||||
Christopher Wright Wrote: > D: > void foo(void delegate(int) dg); > > C#: > delegate void SomeName(int i); > void foo(SomeName dg); > > Does C# 3 fix this? I've seen the new syntax for defining delegates, but not for using them. C# got anough rope for this :) http://msdn.microsoft.com/en-us/library/bb534303.aspx http://msdn.microsoft.com/en-us/library/bb534803.aspx | ||||
February 09, 2009 Re: Lambda syntax, etc | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Kagamin | Kagamin wrote:
> Christopher Wright Wrote:
>
>> D:
>> void foo(void delegate(int) dg);
>>
>> C#:
>> delegate void SomeName(int i);
>> void foo(SomeName dg);
>>
>> Does C# 3 fix this? I've seen the new syntax for defining delegates, but not for using them.
>
> C# got anough rope for this :)
> http://msdn.microsoft.com/en-us/library/bb534303.aspx
> http://msdn.microsoft.com/en-us/library/bb534803.aspx
Eugh! Just eugh!
| |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply