In your base class, define RemoveAt function as overridable. This way, when you want to override that function in an upper level class, such as this one, the compiler lets you do it.
Assume you have two classes, class1 and class2, and class2 inherits from class1.
Public Class Class1 Public Overridable Sub test() MsgBox("HI, I AM AN OVERRIDABLE SUB :) ") End SubEnd Class
Public Class Class2 Inherits Class1 ' Public Overrides Sub test() MsgBox("I Override!") End SubEnd Class
And on your form :
Imports TestClass'Public Class Form1'Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim class1Var As New Class1 Dim class2Var As New Class2 ' class1Var.test() class2Var.test()End Sub
I Hope it helps in some way..
Have we sent the "Don't shoot, we're pathetic" transmission yet?