Lambda the Ultimate

inactiveTopic VB.NET Shadowing
started 2/13/2002; 6:33:57 AM - last post 2/13/2002; 6:33:57 AM
Dan Shappir - VB.NET Shadowing  blueArrow
2/13/2002; 6:33:57 AM (reads: 694, responses: 0)
MSDN: Overriding My Shadows

Everybody's favorite programming language has a new keyword: Shadows. Basically it's an mixture of non-virtual methods and method hiding. That is, in VB.NET overriding methods never hide while non-overriding methods always do (unless I'm totally confused by the proprietary MS jargon.)

I'm not clear why these rather orthogonal attributes are thus attached. In C++ methods in the derived class always hide, regardless of being virtual or not. You can always un-hide with the using keyword.