Refactoring Technique
Meaning in Life
Rename
Allows you to rename a code token (method name, field,
local variable,
and so on) throughout a project
Promote Local Variable
Moves a local variable to the parameter set of the defining method
to Parameter
To illustrate refactoring in action, update your Main() method with the following code:
static void Main(string[] args)
{
Do'stlaringiz bilan baham: