You can prevent a class from being inherited further by defining it with the sealed keyword.