i have some problem in this code.. anyone help me
public event EventHandler CollectionChanged
{
[MethodImpl(MethodImplOptions.Synchronized)]
add
{
this.CollectionChanged = (EventHandler)Delegate.Combine(this.CollectionChanged, value);
}
[MethodImpl(MethodImplOptions.Synchronized)]
remove
{
this.CollectionChanged = (EventHandler)Delegate.Remove(this.CollectionChanged, value);
}
}
regards sarva