Implement the interface in the base class if possible. On 8/21/07, Gray, Franklin W (RWG8) <[EMAIL PROTECTED]> wrote: > > Oh yeah...and have your function have the param of iHuman > > Function DoSomething(Data as iHuman) as object > > -----Original Message----- > From: Discussion of advanced .NET topics. > [mailto:[EMAIL PROTECTED] On Behalf Of Gray, Franklin > W (RWG8) > Sent: Tuesday, August 21, 2007 9:33 AM > To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM > Subject: Re: [ADVANCED-DOTNET] Generics as parameters? syntax question > > Use an interface...call it iHuman :) and have each class implement it. > The interface needs to define the structure that your function needs on > each class. > > =================================== > This list is hosted by DevelopMentor(r) http://www.develop.com > > View archives and manage your subscription(s) at > http://discuss.develop.com >
=================================== This list is hosted by DevelopMentorĀ® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com