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 he
You can:
1) Define an interface that inherits both required interfaces:
public interface ICombinedInterface : IComparable, ICollection {... } private void DoSomething(ICombinedInterface input) {... }
2) Use generics:
private void DoSomething(T input) where T : IComparable, ICollection {...}