In C#/.NET the System.Diagnostic.Stopwatch class can be used for more precise timing than when using System.DateTime. Until recently, despite many years of using .NET, I hadn't used Stopwatch; DateTime was precise enough for timing web applications or timing over thousands of iterations. I didn't actually need to use it now, but I decided to give … Continue reading Stopwatch ticks are different from DateTime.Ticks
Author: Trevor Barnett
AOP with Castle – revisited
A couple of years ago I posted an article demonstrating how Castle DynamicProxy and Castle Windsor can be used to implement concepts of Aspect-Oriented Programming (AOP). The version of Castle that I used at the time was even then an old out of date version. So I thought I'd revisit that little project and bring it up to date using the current latest versions of Castle.Core (contains DynamicProxy) and Castle.Windsor.
Reading the ReSharper Code Inspections Reference for Fun!
If you are a ReSharper user, then you will have know that it has a Code Inspection feature that, as well as highlighting errors and warnings, can make suggestions and hints that could improve your code. If you see one of these hints, and don't understand why you are getting the hint, then it is, of course, a good idea to follow the link to the ReSharper website to learn something new.
Spot the Difference!
There is a new feature of Productivity Power Tools 2013 for Visual Studio called Syntactic Line Compression. This feature "enables you to make better use of your screen's vertical real-estate ... [by shrinking] lines that contain neither letters nor numbers by 25% vertically allowing more lines to be displayed in the editor".



