Visual Studio shows execution time in milliseconds for each line or when Run To Click is used during debugging session, which can give some rough idea of the statement execution time:
For simple measurements Stopwatch class can be a handy option too.
For more advanced scenarios there is a built-in profiler in Visual Studio Analyze CPU usage without debugging in the Performance Profiler.
And for precise performance measurements there is an excellent and powerful tool BenchmarkDotNet.
