When I'm inheriting a class, how do I inherit the base classes New() method as well? Example:
When I create a new instance of an ArrayList, I get the option to add the capacity to the array list as so..Code:Public Class CList Inherits ArrayList End Class
But when I create an instance of my class that inherits the arraylist, I don't get the option to intialize the capacityCode:Dim al As New ArrayList(10)
I figured it would automatically inherit the New() method , Is there a keyword to use the base class initialization code when initializing a child class?Code:Dim cl As New CList(???)




Reply With Quote