title: Error: can't declare a virtual/ abstract member private
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3082310/why-are-private-virtual-methods-illegal-in-c">Why are private virtual methods illegal in C#?</a>  </p>
  </blockquote>
  
  
  
  <p>I have the following code in C#, and Visual Studio is complaining in the Derived class that i cant declare a virtual/ abstract member private.. but i am not .. so does anyone have some ideas? Thanks</p>
  
  <pre><code>public class  Base
  {
      private const string Name= "Name1";
      protected virtual string Member1
      {
      get{
         return Name;
         }
       }
  }
  
  public class Derived: Base
  {
   private const string Name= "Name2";
   protected override string Member1
   {
    get{
       return Name;
       }
   }   
  }
  </code></pre>