Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 1
    If the Additional class is not sealed, you can create a derived class that inherits from Additional and add the new properties you need. Commented Jul 5 at 7:31
  • Aparat from that, Instead of extending the Additional class, you can create a new class that contains an instance of Additional and adds the new properties you need. Extension method or wrapper both can handle that. Commented Jul 5 at 7:34