What’s wrong with this code?
void DoSomething(int x)
Â if (x < 0)
Â Â //do something
I recently ran into this in some code I was working on.
Check out my latest book, the essential, in-depth guide to performance for all .NET developers:
Writing High-Performance.NET Code, 2nd Edition by Ben Watson. Available for pre-order: