I'm curious what delegates methods exists? For instance I'm aware of Asynchronous method calls, like this:
class Program {
// define a delegate
delegate int MyDelegate(String s);
static void Main(string[] args) {
// create the delegate
MyDelegate del = new MyDelegate(myMethod);
// invoke the method asynchronously
IAsyncResult result = del.BeginInvoke("foo", null, null);
// get the result of that asynchronous operation
int retValue = del.EndInvoke(result);
}
}
Here are "BeginInvoke()" and "EndInvoke()" methods, but is there any other delegates methods?