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.

Convert-To-Tuple_thumb7_thumb1

    1 comment(s)
    Crono

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

    15 June, 2011

    Please login or register to post comments.