In reading others’ C# code I consistently see some programmers call delegates like a function—del()
—and others use the Invoke
method of the Delegate
class: del.Invoke()
. Is there any difference between the two? Is one better than the other? Today’s article finds out!