tag:blogger.com,1999:blog-11783320.post113516437492541367..comments2019-11-24T18:30:41.610+00:00Comments on Ari Does Development: Polymorphism and InterfacesArihttp://www.blogger.com/profile/04107031974051297199noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-11783320.post-1137013433586494472006-01-11T21:03:00.000+00:002006-01-11T21:03:00.000+00:00I'm afraid this is just how the rules of polymorph...I'm afraid this is just how the rules of polymorphism are defined in the C# language.<BR/><BR/>Your expectations of the behavior comes from your background as an Java programmer ;)<BR/><BR/>But the good thing is that you get an compiler warning on the B.f() method about it "hiding" the A.f(),<BR/><BR/>(See: <A HREF="http://www.akadia.com/services/dotnet_polymorphism.html)<br/>" REL="nofollow">Polymorphism, Method Hiding and Overriding in C#</A>)Anonymousnoreply@blogger.com