Please Explain .NET Delegates

Posted by user275561 on Stack Overflow See other posts from Stack Overflow or by user275561
Published on 2010-03-19T01:26:22Z Indexed on 2010/03/19 1:41 UTC
Read the original article Hit count: 302

Filed under:
|
|
|

So I read MSDN and Stack Overflow. I understand what the Action Delegate does in general but it is not clicking no matter how many examples I do. In general, the same goes for the idea of delegates. So here is my question. When you have a function like this:

public GetCustomers(Action<IEnumerable<Customer>,Exception> callBack)
{
}

What is this, and what should I pass to it?

© Stack Overflow or respective owner

Related posts about c#

Related posts about action