public delegate void StringListEvent(IStringList sender); public interface IStringList { void Add(string s); int Count { get; } event StringListEvent Changed; string this[int index] { get; set; } }declares an interface that contains one each of the possible kinds of members: A method, a property, an event, and an indexer. end example] Paragraph 41 An interface-declaration creates a new declaration space (§10.3), and the interface-member-declarations immediately contained by the interface-declaration introduce new members into this declaration space. 2 The following rules apply to interface-member-declarations:
| |
Jagger Software Ltd | |
Company # 4070126 | |
VAT # 762 5213 42 |