OdeToCode IC Logo

C# Fundamentals Part II & 10 Rules for Better C# Code

Monday, October 3, 2011

The second part of my C# fundamentals course is available for subscribers on Pluralsight.com.

Part 2 introduces you to the variety of programming styles supported by the C# language. At its core, C# is an object-oriented, statically-typed language that lends itself to procedural and object-oriented programming, but recent additions to the language have made it much easier to develop using other programming paradigms, most notably, dynamic. This course covers object-oriented programming, functional programming, the dynamic language runtime, LINQ programming, and software craftsmanship.

The section on crafting C# code includes my current top 10 rules for writing better C# code, which was fun to record.


Gravatar Jon Monday, October 3, 2011
Just started watching this. Thanks, Scott!
Gravatar Guille Wednesday, October 5, 2011
Scott, Rule #7 "Avoid too many parameters", sometimes I used to make class builders, that usually takes as many parameters as the attributes of the class. Am I breaking the rule? If I'am, how can I resolve this class builders? Thanxks :D
Scott Thursday, October 6, 2011
@Guille: It's tough to say without seeing the code, and there are always exceptions to the rule. When you get into data transfers, mapping, builders - the number of parameters might increase.
Gravatar James Pack Wednesday, October 12, 2011
You are a great teacher. You helped me figure out my custom client side validation. Thanks man.
Gravatar scott Wednesday, October 12, 2011
@James - thanks for letting me know. Cheers!
Gravatar Seamus Sunday, November 27, 2011
Thank you! Part 2 was so illuminating.
Comments are closed.