bind/unbind in C#
<p>how can I implement analog of bind / unbind like in jQuery?</p>

<pre><code>class MyDataType&lt;T&gt;
{
    private List&lt;T&gt; data;
    ...
    public void Add(T value)
    {
        data.Add(value);
    }
    ...
}

...
MyDataTypeObject.Bind("Add",()=&gt;Console.WriteLine("OnAdd"));
...
MyDataTypeObject.UnBind("Add");
...
</code></pre>
