I need help with inheriting generics - C#