I have a user control which deals with fileupload. I have defined a delegate as follows
public delegate void FileUploadSuccess(T value,FileUploadTyp
Why do you need a generic event? Can't you just use a normal event:
public delegate void FileUploadSuccess(object value);
and then
public event FileUploadSuccess Success;
In the Success event handler you will know the type of the object being passed:
public void SuccessHandler(object value)
{
// you know the type of the value being passed here
}