[Mono-dev] Array of delegate, possible in an interface definition?

Sebastian Nowozin nowozin at gmail.com
Mon Dec 5 17:08:12 EST 2005


Hello Kornél,

On 12/5/05, Kornél Pál <kornelpal at hotmail.com> wrote:

> There are two major problems in you code:
> 1) Delegates are much like function pointers so they have to have a return
> type.

Args, sure, in the original code it was there.  In my Test code
written it somehow dropped ;-)

> 2) Interfaces can only contain instance methods, properties and events. No
> constands, fields or static members are allowed.

Ok, thats it, no fields allowed.  Thanks for letting me know :-)

Greetings,
Sebastian



More information about the Mono-devel-list mailing list