Skip to main content
formatting
Source Link
Robin Green
  • 33.3k
  • 20
  • 112
  • 197

`using system.diagnostic;

class Program{

static void main(String[] args){

Stopwatch Timer = new Stopwatch();

//here is your code

Timer.Stop();

Console.Writeline("Time Taken:" +Timer.Elasped);

}

}

`

using system.diagnostic; class Program { static void main(String[] args){ Stopwatch Timer = new Stopwatch(); //here is your code Timer.Stop(); Console.Writeline("Time Taken:" +Timer.Elasped); } } 

`using system.diagnostic;

class Program{

static void main(String[] args){

Stopwatch Timer = new Stopwatch();

//here is your code

Timer.Stop();

Console.Writeline("Time Taken:" +Timer.Elasped);

}

}

`

using system.diagnostic; class Program { static void main(String[] args){ Stopwatch Timer = new Stopwatch(); //here is your code Timer.Stop(); Console.Writeline("Time Taken:" +Timer.Elasped); } } 
Source Link

`using system.diagnostic;

class Program{

static void main(String[] args){

Stopwatch Timer = new Stopwatch();

//here is your code

Timer.Stop();

Console.Writeline("Time Taken:" +Timer.Elasped);

}

}

`