❔ function overloading with Type as parameter.
Hello
i have this function :
real example :
123 being the id and a range of dates.
i would like to be able to overload the
something like this:
so that when i type
is this even possible? ty
i have this function :
public string remoteCall(string Namespace, string Class, string Function, params object[] p)real example :
remoteCall("Cus", "Customer", "GetCustomerTransactions", 123, "2020-01-01", "2021-01-01")123 being the id and a range of dates.
i would like to be able to overload the
remoteCall function in a way that it would suggest the id and the 2 dates instead of it being a params object[].something like this:
public string remoteCall(Cus.Customer.GetCustomerTransactions, int Id, string date1, string date2)so that when i type
Cus.Customer.GetCustomerTransactions as the first param, visual studio automatically suggests Id, date1 and date2 as the possible params.is this even possible? ty