you can prevent overriding of a method. When you use sealed modifiers in C# on a method, then the method loses its capabilities of overriding. The sealed method should be part of a derived class and the method must be an overridden method.
Interviews2 answers
Why we use Final keyword if we have sealed and const keywords in C#.?
2 Answers
Rajeev KumarPosted Jun 26, 2023, 7:57 AM EDT
There is "sealed" keyword instead of "final" keyword in c#.
Avikshith AradhyaPosted Jun 2, 2016, 10:19 PM EDT

