❔ Function with generic argument as a setter - C#