"Jay B. Harlow [MVP - Outlook]" <Ja************@msn.com> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...
Rick,
| Is there any way to make a sub/function that you can neither override
nor
| overload?
As you know, you can use NotOverridable to prevent a method from being
overridden, however you cannot prevent overloading.
Just out of curiosity, what do you think not overloading is going to buy
you?
Its really to prevent another developer from overloading the function and
then complaining when it doesnt do what its supposed to. And its not really
my question, it was asked of me, and I didnt know the answer. So i guess I
dont know the whole reason, but I know that its more to prevent it so that
it will not confuse rather than that it will cause any actual harm.