February 09, 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
February 09, 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!