Brad Abrams posted the internal MS Coding guidelines on his blog earlier this year.
Interesting reading stuff!

I tested my own code against these guidelines. I think I would pass…. 😉