Thursday, February 17, 2011

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.

No comments:

Post a Comment

Retrieving Calendar of a Bookable Resource in Dynamics

There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...