所以我目前有
class general
private list as List(Of string)
public overridable function getprivateList as <not sure what to put>
return list
end function
end class
class specific inherits general
private list as List(Of listofstrings)
end class
但我无法弄清楚将什么用作界面。因此 getprivateList 方法能够返回列表的两种变体,具体取决于实现的类。