Member Shadowing in C#


You have a the same method in both base and derived class and when you compile the compiler would give you an error saying one method has to overridden. By putting new keyword infront of the child class method you can do this and this is called member shadowing.

Comments

Popular posts from this blog

Error message “User does not have send-as privilege.” when sending emails programmatically in CRM 2011