Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to measure C# console application running time?

Tags:

c#

I need to bulid an application, that runs under 1 sec, but I cant find out how to determine the running time.

like image 925
Mikee Avatar asked Apr 06 '11 22:04

Mikee


People also ask

What is the measure of Measure C?

Measure C is a half-cent sales tax dedicated to funding new roads, freeways, sidewalks, trails and public transportation in Fresno County. The first version of Measure C was passed by voters in 1986, when county leaders and developers rallied to build out the region's vast freeway system we have today.

What is Measure C Alameda County?

Measure C creates a half percent (0.5%) sales tax, raising an estimated $150 million per year to provide expanded access to free and low-cost health care and emergency services in Alameda County and improved access to affordable quality child care, prioritizing high-need families.


Video Answer


1 Answers

Set up a Stopwatch at initialisation and check its Elapsed property at exit.

like image 178
spender Avatar answered Sep 20 '22 06:09

spender