C# Anti-Patterns: A List Of Programming Practices To Avoid


Updated on

Course overview

Course type
Paid course
All Levels
3 hours
23 lessons
Available on completion
Course author
Mark Farragher
  • Learn to identify many common anti-patterns
  • How to abuse the .NET type system
  • The curse of the Swiss-Army Knife
  • Use the YAGNI principle to remove Crystal Balls
  • Real-life bad coding practices from actual code reviews
  • The "Assume the Worst" principle
  • Why is "Pattern Love" a bad thing?
  • Incorrect use of Exceptions
  • ... and much more!


This course will teach you many bad programming practices that every professional developer must know, but never use

BEST COURSE CHOICE for beginners and intermediate C# developers who want to take their programming skills to the next level.

Code reviews sometimes expose truly terrible code - mangled object hierarchies, judicious use of Parse and ToString, flow-control logic using Exceptions, and "reinvented wheel" classes littered with bugs.

In fact the same bad code tends to crop up over and over, which is why we call them "Anti-Patterns".

Anti-patterns are common responses to a recurring problem that are ineffective and highly counterproductive.

In a series of short lectures I am going to show you the most common C# anti-patterns. I will introduce each anti-pattern, show you why the pattern is bad, and how you can refactor the code to resolve the problem.

Why should you take this course?

You should take this course if you are a beginner or intermediate C# developer and want to take your skills to the next level. A thorough understanding of all common anti-patterns will help you enormously in your understanding of C# and the .NET Framework.

Or you might be working in a developer team and about to perform your first code review. The examples in this course will help you spot bad code quickly, and give you an idea what senior developers like to see at when they review code.

Or maybe you're preparing for a C# related job interview? This course will give you an excellent foundation to answer any questions about code quality they might throw at you.

30 day money-back guarantee

This course comes with an unconditional, Udemy backed, 30-day money-back guarantee. If you are dissatisfied with the course for any reason, simply request a refund and get your full purchase amount back, no questions asked.

Act now

This course contains over 3 hours of video content. Enroll now to benefit from the current price and get lifelong free access to all future materials.

Similar courses

Complete C# Unity Game Developer 3D
  • 31 hours
  • 203 lessons
  • Certificate
C# Anti-Patterns: A List Of Programming Practices To Avoid
  • English language

  • Recommended provider

  • Certificate available