Possible Duplicate:
C#: Difference between ‘ += anEvent’ and ‘ += new EventHandler(anEvent)’
Let us have this delegate :
delegate int Process (int x ,int y) ;
and this method :
int Add (int x , int y)
{
return x+y ;
}
My queston :
what is the difference between :
Process MyProcess = Add ;
and :
Process MyProcess = new Process (Add) ;