Use the keyword NotOverridable in VB.NET and sealed in C#.