You sometimes need to change your method signatures by removing an item, by adding a local variable as a parameter, or by reordering the existing parameters. These changes require that all calls to the method also be changed. Doing this manually can introduce new bugs into the code. For example, suppose you want to swap the order of two parameters with the same type (
int, for example). If you forget to change a call to the method, it might still work; it just won’t work right. These bugs can be challenging to find. Therefore, Visual Studio provides refactoring operations for removing and reordering parameters.