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

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.

Enjoy!

Print | posted @ Monday, October 03, 2011 9:12 AM

Comments on this entry:

Gravatar # re: C# Fundamentals Part II & 10 Rules for Better C# Code
by Jon at 10/3/2011 6:23 PM

Just started watching this. Thanks, Scott!
  
Gravatar # re: C# Fundamentals Part II & 10 Rules for Better C# Code
by Guille at 10/5/2011 11:57 AM

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
  
Gravatar # re: C# Fundamentals Part II & 10 Rules for Better C# Code
by Scott at 10/6/2011 11:28 PM

@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 # re: C# Fundamentals Part II & 10 Rules for Better C# Code
by James Pack at 10/12/2011 5:57 PM

You are a great teacher. You helped me figure out my custom client side validation. Thanks man.
  
Gravatar # re: C# Fundamentals Part II & 10 Rules for Better C# Code
by scott at 10/12/2011 6:25 PM

@James - thanks for letting me know. Cheers!
  
Gravatar # re: C# Fundamentals Part II & 10 Rules for Better C# Code
by Seamus at 11/27/2011 1:51 PM

Thank you! Part 2 was so illuminating.
  
Comments have been closed on this topic.
Scott Allen
Posts - 869
Comments - 4493
Stories - 14