I want to use a Stopwatch in my Algorithm but i don´t now how to add an the System. Diagnostics.

If i write "using System.Diagnostics" there is an error, calling " A using namespace directive can only be applied to namespaces; Util is a type not a namespace . Consider using static directive instead". How can use that System. Diagnostics? C#