SHARE
TWEET

zenwalker

a guest Aug 24th, 2012 18 Never
  1. Version 2:
  2. sealed class API
  3.     {
  4.         public string SomeProperty { get; }
  5.     }
  6.  
  7.  
  8. Version 2:
  9. class API
  10.     {
  11.         public string SomeProperty { get; protected set; }
  12.     }
  13.  
  14.     class TestAPI : API
  15.     {
  16.         public void SetValue(string value)
  17.         {
  18.             base.SomeProperty = value;
  19.         }
  20.     }
RAW Paste Data
Top