intefaces

  • Thread starter Thread starter rajendra
  • Start date Start date
R

rajendra

hi friends,i have question to ask you,
what an interface can contain,
i learned that interface can contain method declarations
doubt: interface can contain delegates and events.please clarify my
doubt
 
rajendra said:
hi friends,i have question to ask you,
what an interface can contain,
i learned that interface can contain method declarations

No, it can't. It can contain method signatures.

You mean question? ;)
interface can contain delegates
No.

and events.
Yes.

please clarify my
doubt

To clarify: It's not a doubt, it's a question. ;)

Interfaces can contain signatures of:

:: Methods
:: Properties
:: Indexers
:: Events
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top