My only tip, and I know I am swimming against the current, but it is something I hate, is to avoid using "using" directive (not the statement) unless used as an alias. For example, lots of samples you find omit the using, then when you try to use them you do not know where the heck they are supposed to be. In short, I abhor code like this:
using System;
using System.Windows
using System.Diagnostics.EventLog;
using System.Windows.Controls;
.....
WriteEntry(.....) // where the heck is this??
....
Much clear code, although verbose, which I do not mind:
System.Diagnostics.EventLog.WriteEntry(....);
Now you know exactly from where WriteEntry comes from. If you want to save typing, the alternative is using an alias directive
using Logger = System.Diagnostics.EventLog;
...
Logger.WriteEntry(....);
Anyways, I think I stand alone on this one, as everyone seems to love using "using" ...
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges