Hello,

This is my first time using generics, and I am having a problem getting it set up in my application.

I have a class called settings that will store information from a database. I want to take the settings class and store it in a generic list of type settings. The class that inherits from system.collections.generic.list is called databaselist. I want database list to be a shared friend so that it can be shared all over the application, but not beyond the application.

This is what I have for the databaselist class, which isn't much.

Code:
Friend Class DatabaseList : Inherits System.Collections.Generic.List(Of Settings)

    Friend Shared Sub AddSettings(ByVal Settings As Settings)

    End Sub

End Class
With this code I can expose a method to add settings to the databaselist. The problem is that when I try to type me.add or mybase.add no intellisense.

So, my question is: Am I doing this right at all? Am I missing the boat all together, or am I just getting something mixed up? How do I do this right?

Thank you for your help.