M markryde Nov 6, 2006 #1 Hello, Is it possible in csharp to disable overridding of a class ? Regads, MR
J Jeroen Nov 6, 2006 #2 What do you mean by disable? Assuming you want to prevent someone from inheriting your class, you can use the keyword sealed: sealed class SealedClass { public int x; public int y; } From: http://msdn2.microsoft.com/en-us/library/88c54tsw(VS.80).aspx (e-mail address removed) schreef:
What do you mean by disable? Assuming you want to prevent someone from inheriting your class, you can use the keyword sealed: sealed class SealedClass { public int x; public int y; } From: http://msdn2.microsoft.com/en-us/library/88c54tsw(VS.80).aspx (e-mail address removed) schreef: