Diagnostics.End

Ends the diagnostics and sets MemoryUsed and ElapsedTime.

public void End()

Exceptions

**System.InvalidOperationException**
Throws an InvalidOperationException if Start wasn't called before calling End.

See also:

Class Diagnostics