C#. Class ActiveObject