C#C
C#4y ago
.tree

❔ Method call based on config file

Based on a value in a config file, I want my program to call one of 3 methods who have different parameters but overall do the same thing. What's the best way to handle this? Overloading the method and adding an additional parameter?
Was this page helpful?