title: Why elements defined in a namespace cannot be explicitly declared?
body: <p>I have the following C# code:  </p>
  
  <pre><code>namespace ISeeOptic.BL
  {
  
    public abstract class Process
    {        
       ...      
  
       protected static void DeleteImages(List&lt;ImagesPath&gt; list)
        {
            some logic
        } 
  
        ...
     }
  
  
      protected class GetDataBL: Process
      {
        ...
  
       public static void DeleteImages(List&lt;ImagesPath&gt; list)
       {
           DeleteImages(list); 
       } 
       ...
   }
  } 
  </code></pre>
  
  <p>At compile-time I get the following Error:</p>
  
  <p><strong>Elements defined in a namespace cannot be explicitly declared as private, protected, or protected internal</strong></p>
  
  <p>I'm beginner in C# so maybe this question may seem naive,
  any idea what cause to this error?</p>
  
  <p>Thank you advance.</p>