Stopwatch is designed for this purpose, and is one of the best way to measure time execution in .NET.
csharp
How to Unity3D – Use VisualStudio Script Editor and Debug Project
In this tutorial, you’ll see a project configured with VisualStudio. And how to run and debug it.
How to Unity3D – Use MonoDevelop Script Editor and Debug Project
In this tutorial, you’ll see a project configured with MonoDevelop. And how to run and debug it.
How to Unity3D – Why Use UI instead of GUI / IMGUI
In this use-case, you will see the difference between GUI and UI API. And why use the later in your game, for constancy between platforms and API long term support.