Can any body tell me ?why i am getting the following error.namespace does not directly contain members such as fields or methods.when i tried to run the following code.Kindly let me know the idea.
Code:
using System;
 class A
 {
 public void Driver()
     {
     Console.WriteLine("This is the Driver method of the Class A");
        }
    }

Class B: A

   {

 New Public Void Driver()
   {
Console.writeline("This is the Overridden Driver method of the Class B");
    }
   }

 Class Test
   {
Public Static Void Main()
   {
B objB=New B();
oBJB.Driver();
    }
}