using System;
using System.Threading;
class Program
{
static void Main()
{
var sw = new System.Diagnostics.Stopwatch();
sw.Start();
Thread.Sleep(1000);
Console.WriteLine(sw.Elapsed);
}
}
With a one-step operation, I'd like to be able to transform this to:
using System;
using System.Diagnostics;
using System.Threading;
class Program
{
static void Main()
{
var sw = new Stopwatch();
sw.Start();
Thread.Sleep(1000);
Console.WriteLine(sw.Elapsed);
}
}
adding a using and simplifying the associated type name (today no refactorings are offered for the System.Diagnostics.Stopwatch reference).
Consider:
With a one-step operation, I'd like to be able to transform this to:
adding a using and simplifying the associated type name (today no refactorings are offered for the
System.Diagnostics.Stopwatch
reference).