Link to home
Start Free TrialLog in
Avatar of Starr Duskk
Starr DuskkFlag for United States of America

asked on

Passing in multiple class libraries of different types to a method

I haven't had to do this for years and forget how.

I have a method that I want to sometimes run with one library and sometimes another. Other than the library I'm using, the method is exactly the same. The same deletion handling, file handling everything.

How do I pass in a library to a method and let the method accept either library?

asp.net vb.net but C# is fine if that's all you've got.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Miguel Oz
Miguel Oz
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Starr Duskk

ASKER

wasn't what I was looking for, but i've moved on. thanks!