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Ā®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to