Use Stopwatch.StartNew()

❗ Disclaimer: Nit Alert

💡 One-liner Summary

Use Stopwatch.StartNew() to create and start a new stopwatch in one line.

🚫 Bad Example

var sw = new Stopwatch();
sw.Start();

✅ Good Example

var sw = Stopwatch.StartNew();

🧠 Key Takeaway

  • Use Stopwatch.StartNew() to show off your amazing C# knowledge.