title: How to pass const arguments to an abstract class parent in C#?
body: <p>i have wrote the following polymorphic code:</p>
  
  <pre><code>public abstract class  A  
  {  
      readonly int x;  
      A(int i_MyInt)  
      {  
          x = i_MyInt;  
      }  
  }  
  
  public abstract class B : A  
  {  
      //holds few integers and some methods      
  }  
  
  
  // concrete  object class  
  public class C : B   
  {  
     // holds some variables and mathods  
      C(int MyInt)  
      {   
        // here i would like to initialize A's x  
      }  
  }  
  </code></pre>
  
  <p>how can i initialize  A's x from C
  i tried passing parameters to A's C'tor - but didn't work..</p>
  
  <p>Please Help,
  Thanks in advance
  Amitos80 </p>