Hello,
Welcome to our Microsoft Q&A platform!
Hi, where is the method? Is it from the a class that inherit from an interface or abstract class? If so, the override
keyword cannot be removed. The override
modifier is required to extend or modify the abstract or virtual implementation of an inherited method.
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.