Lambda syntax, etc

Kagamin spam at here.lot
Mon Feb 9 02:53:08 PST 2009


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



More information about the Digitalmars-d mailing list