Advertisement
Guest User

zenwalker

a guest
Aug 24th, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  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.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement