Need help to replace a switch in C#
I have a console application in .NET6 that receives 1 argument, and based on that, has to decide which operation will be executed. At first I had all the executions as static methods and everything being decided in a switch statement, but then refactored the action executions.