the same delegate can be used to call different methods during the runtime of a program by simply changing the method to which the delegate refers. Thus, the method that will be invoked by a delegate is not determined at compile time, but rather at runtime. This is the principal advantage of a delegate.
These are the lines which I have read about the delegates. But when delegate is associated with any method(I mean when any methods reference is put in delegate) At that time delegate immediately attaches reference of that method with it. Then why is it written that "the method that will be invoked by a delegate is not determined at compile time, but rather at runtime " I am unable to get what writer want to say in above statement.
