Take the 2-minute tour ×

Assuming I have the following delegate:

public delegate int TestD(int p);

Is there any difference between

TestD del = MyMethod;


TestD del = new TestD(MyMethod);
share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

No, there is no difference: starting with C# 2.0, you can specify delegates using a method group.

Note: In an unlikely case that you need 1.0 compatibility, the second syntax would be your only option.

share|improve this answer
add comment

Your Answer


