New Refactoring in CodeRush 11.1 – Convert To Tuple

The new Convert To Tuple refactoring can be applied to 2 or more parameters of a method.

As it’s name suggests, it replaces the parameters in question with a suitable Tuple. It further ensures that calls to the method as well, as internal references to the parameters, are updated appropriately.


    FREE DevExpress Xamarin UI Controls

    Deliver high-impact native mobile apps with our feature-rich Data Grid, Scheduler, Chart, TabView, Editors, and utility controls. Reserve your free copy today!

    Ack! One more way to be tempted by the evil Tuple class! :p

    15 June 2011

    Please login or register to post comments.