I am working on a project that has several different codes. These codes all basically are used this way:
CodeKey Description
GetList GetSpecific SetProperties
All of my classes implement this. I am hesitent, however, to use an interface because of one problem--the type Codes vary by type. Some are strings, some are integers, some are bytes. The only way I could see using an interface would be to make the typeCode an object in the interface and then cast whenever I needed to use it, but that seems a bit silly. Any ideas? This is in VB.NET. Thanks for the help! :)