public Result Execute( ExternalCommandData cd, ref string msg, ElementSet els) { // Choose which implementation to use. int use_execute_nr = 3; switch( use_execute_nr ) { case 1: return Execute1( cd, ref msg, els ); case 2: return Execute2( cd, ref msg, els ); case 3: return Execute3( cd, ref msg, els ); } return Result.Failed; }