title: Can't Implicitly Convert "string" to generic type <T>
body: <p>We have following classes</p>
  
  <pre><code>public class MyPropertyBase
  {
      public int StartOffset { get; set; }
      public int EndOffset { get; set; }
  }
  
  public class MyProperty&lt;T&gt; : MyPropertyBase
  {
      public MyProperty(T propertyValue)
      {
          PropertyValue = propertyValue;
      }
  
      public T PropertyValue { get; set; }
  }
  
  class BE
  {
      public MyProperty&lt;string&gt; FUND_CITY { get; set; }
  
      public MyProperty&lt;int&gt; SomeOtherProperty { get; set; }
  
      public List&lt;MyPropertyBase&gt; MyDataPoints { get; set; }
  }
  </code></pre>
  
  <p>When I create instance of <code>BE</code> as <code>objBE</code> and assign <code>objBE.FUND_CITY="Some Value"</code> it gives the error:</p>
  
  <blockquote>
    <p>"Can't convert "string" to MyProperty.</p>
  </blockquote>