[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mono-devel-list
Subject:    Re: [Mono-dev] Array of delegate, possible in an interface definition?
From:       Sebastian Nowozin <nowozin () gmail ! com>
Date:       2005-12-05 22:08:12
Message-ID: b12ed2970512051408x662cfbb5qc2e3a4d13c0b429b () mail ! gmail ! com
[Download RAW message or body]

Hello Kornél,

On 12/5/05, Kornél Pál <kornelpal@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
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic