I hope that I have a smart way to do this. I have a common base service that has several methods ... So, currently, there are methods like Create (T obj) in this base class. I would like the compiler to create a more intuitive parameter name (based on some rule), so that when a specific instance of the underlying service is created as follows:
public class ProductService : BaseService<Product>
I want it to compile ProductService method (for example):
public Product Create(Product product)
instead
public Product Create(Product obj)
I know this sounds insignificant, but the trainee asked me the other day, and I could not tell him 100% sure that this was impossible.
source
share