Wednesday, June 10, 2009

Que. How to prevent overriding of a class in .NET?

Que. How to prevent overriding of a class in .NET?
Ans. Use the keyword NotOverridable in VB.NET and sealed in C#.

No comments: