title: Setting value to a field in the derived class
body: <pre><code>using System;
  
  namespace ConsoleApplication1
  { 
      class Program
      {
          static void Main(string[] args)
          {
              Console.WriteLine(new B("MyName").Name);
          }
      }
  
      abstract class A
      {
          public A(string name)
          {
              this.GetType().GetField("Name").SetValue(this, name);
          }
      }
  
      class B : A
      {
          public B(string name)
              : base(name)
          {
          }
  
          public string Name
          {
              set;
              get;
          }
      }
  }
  </code></pre>
  
  <p>Is it possible to do something like that?</p>