Link to home
Create AccountLog 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
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of Starr Duskk

ASKER

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