what happens when declaring a method virtual and hide it in the derived class?
<pre><code>  class A {
      public virtual void Foo()
           { // do something
            }
    }

  class B:A {
      public void Foo() {
       }
    }
</code></pre>

<p>What's the meaning of this? Can anyone give me an example? Up till now i thought that it's mandatory to use the "override" keyword if you use virtual
Thanks</p>
