Is it possible to define a function that takes in a parameter that must implement two interfaces?
(The two interfaces are ones I just remembered off the top of my head; not the ones I want to use)
private void DoSomthing(IComparable, ICollection input) { }
You can:
1) Define an interface that inherits both required interfaces:
2) Use generics: