2 <section id="interfaces">
4 <p>Interfaces can be implemented by classes to provide functionality with a common interface. Each class
5 can implement multiple interface and interfaces can require other interfaces to be implemented.</p>
6 <section id="declaration">
7 <h>Interface declarations</h>
9 public interface InterfaceName : RequiredInterface <optional>
11 <interface members>
15 <section id="methods">
17 <p>Interfaces can contain abstract and non abstract methods.</p>
19 public abstract void MethodName ();
20 public void MethodName2 ()
22 <Implementation>
26 <section id="delegates">
28 <p>Interfaces can also contain delegates</p>
30 public delegate void DelegateName (void* data);
33 <section id="signals">
35 <p>Signals are also supported by interfaces</p>
37 public signal void SignalName ();