There is a class with one method:
class A { public object Fill(HttpCLient / HttpWebRequest param) { //логика } } How to make it so that you can pass either the HttpCLient or HttpWebRequest to the objectFill method parameter?
I tried to do through T but failed.
thank