views:

288

answers:

3

I'm aware of a number of coding standards and guidelines for C# 2 and C# 3 but am looking for some which have been written with C# 4 in mind.

A: 

I have found recently this article about code contracts in C# 4.0 which is part of C# in Depth, Second Edition book.

Tomi
@Tomi: I suspect tjrobinson is after something broaded, covering "when to use optional parameters" etc. While I do give *some* guidance in C# in Depth, it's not quite the same. Still, if he finds it handy, then great :)
Jon Skeet
@Jon Skeet: Well, in "What's inside" of your book is said "Guidance and practical experience" and "Not just the What and How, but the Why" so I think it covers this question pretty good :)
Tomi
@Tomi: I definitely give guidance - but if I were looking for *just* a coding standards document, I wouldn't want to have to wade through a whole book :)
Jon Skeet
@Jon Skeet is right, I'm after something a few pages long, which we can tweak for our needs, and developers here can all use as a quick reference for coding standards. I'm not after the level of detail you get in a book like C# in Depth (which I own and recommend).
tjrobinson
+2  A: 

Try the new Edition of Effective C#.

Ikaso
I'm currently reading this book and it's great
Fahad
+2  A: 

I'm in the process of publishing new coding guidelines for C# 4.0 here.

Dennis Doomen