The documentation for the Delegate and the MultiCastDelega te classes tell me
that when we have a line like:
public delegate void CheckAndPrintDe legate(string str);
it causes the compiler to generate a new delegate class named
CheckAndPrintDe legate that inherits from System.Multicas tDelegate.
Elsewhere it says a the same delegate definition produces a delegate class
inheriting from System.Delegate .
Under what condition does this construct create an instance of
System.Delegate and under what condition does it create an instance of
System.Multicas tDelegate?
Thanks
Nima Dilmaghani
that when we have a line like:
public delegate void CheckAndPrintDe legate(string str);
it causes the compiler to generate a new delegate class named
CheckAndPrintDe legate that inherits from System.Multicas tDelegate.
Elsewhere it says a the same delegate definition produces a delegate class
inheriting from System.Delegate .
Under what condition does this construct create an instance of
System.Delegate and under what condition does it create an instance of
System.Multicas tDelegate?
Thanks
Nima Dilmaghani
Comment