Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Version 2:
- sealed class API
- {
- public string SomeProperty { get; }
- }
- Version 2:
- class API
- {
- public string SomeProperty { get; protected set; }
- }
- class TestAPI : API
- {
- public void SetValue(string value)
- {
- base.SomeProperty = value;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement