Define two methods with same parameter type
问题 Today I ran into a scenario where I have to create a method that share the same name, params count and params types with existent one, Something like this: public static Department GetDepartment(string departmentName) { //LOGIC } public static Department GetDepartment(string employeeID) { //LOGIC } at first glance I just said why not to name it with a different name and get things done, but I couldn't! I do want to maintain the readability of my code i'm working on, I want it to be overloaded