Lambda syntax, etc

Christopher Wright dhasenan at gmail.com
Mon Feb 9 04:59:35 PST 2009


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!



More information about the Digitalmars-d mailing list