C# Developers: Learn the Art of Writing Clean Code (Udemy.com)

Learn the techniques to write better C# code and stand out in technical interviews

Created by: Mosh Hamedani

Produced in 2021

icon
What you will learn

  • Tell the difference between good and bad good
  • Identify the smells in your code
  • Refactor your code in a safe and fast way using ReSharper
  • Write clean code that reveals the intent
  • Decompose long methods into smaller, more maintainable ones
  • Refactor lengthy switch statements into an object-oriented design
  • Simplify nested / complex conditional blocks
  • Remove duplicated code
  • Design the proper signature for your methods

icon
Quality Score

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 90 / 100

icon
Live Chat with CourseDuck's Co-Founder for Help

Need help deciding on a c# course? Or looking for more detail on Mosh Hamedani's C# Developers: Learn the Art of Writing Clean Code? Feel free to chat below.
Join CourseDuck's Online Learning Discord Community

icon
Course Description


These days, anyone can code. But if you want to get a job as an intermediate or senior-level C# developer, you must know how to write clean, maintainable code.

As Martin Fowler said:
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler

Poorly written code is hard to understand, maintain and test. But what does separate poorly written code (aka code that smells) from beautiful code that talks?

In this course, Mosh, author of several best selling C# courses on Udemy, walks you through common code smells found in C# programs and shows you how to refactor them using ReSharper. Refactoring is changing the design of the existing code without changing its external behaviour.

In every lecture, you'll see an example of a popular code smell with Mosh's commentary about what is wrong with that code and more importantly, why. You'll then learn how to change the code in a safe and step-by-step fashion while minimising breaking changes. All the source codes presented in the lectures are available for download so you can practice these techniques on your own.

By the end of this course, you'll be able to
  • Spot the smells in your code
  • Refactor your code using safe and fast refactoring techniques with ReSharper
  • Write clean code that is more readable and maintainable
  • Break long methods into smaller, more maintainable ones
  • Simplify nested / complex conditional blocks
  • Design the proper signature for your methods
  • Remove duplicated code
  • Refactor long switch/case blocks into an object-oriented design using polymorphism
  • And more...


Understanding and using these techniques are absolutely essential skills that every C# developer must have.

WHAT OTHER STUDENTS WHO HAVE TAKEN THIS COURSE SAY:

"This is a must have tutorial for every programmer. It includes the most valuable tips I have received for 5 years. Thank you Mosh you helped me a lot." -Se He

"Just Love It! Its the 4th course i bought from Mosh, and i do not regret spending any money. I'm working as a developer for 2-3 years now but keep loosing myself in code written by me / others. I can finally understand why and what to change. Thanks Mosh!" -Klaus Prnster

"This course was really great at explaining clean coding practices in a way which is easy to follow and understand. Highly recommended!" -Edin Livnjak

"Another fantastic course from Mosh. I have't seen another course that explains these essential concepts so clearly. In my opinion all Developers should be taught this type of thing before being let loose within a work environment." -Mark Baker

"This course is awesome! It's highly detailed (but easy to understand nonetheless). It has, for me personally, the right amount of information density; Mosh picked exactly the right speed of teaching and progressively intensifies the content, which is great! It is definitively worth the time and money, and one can clearly see the passionate effort the author has put in the creation of these materials. Big respects!!" -Raphael Beck

100% MONEY-BACK GUARANTEE
This course comes with a 30-day money back guarantee. If you're not happy, ask for a refund, all your money back, no questions asked.

So, do you want to take your C# skills to the next level?
Enrol in the course now and you'll see the difference between clean and smelly code within a few minutes.

Who this course is for:
  • Any C# developer who has an interest in improving the quality of their code

*Some courses are excluded from this sale. Coupon not working? If the link above doesn't drop prices, clear the cookies in your browser and then click this link here.
Also, you may need to apply the coupon code directly on the cart page to get the discount.

Coupon Code

icon
Instructor Details

Mosh Hamedani

Hi! My name is Mosh (Moshfegh) Hamedani! I'm a passionate software engineer with two decades of experience and I've taught over 3 million people who to code or how to become professional software engineers through my YouTube channel and online courses.
My goal is to make software engineering fun and accessible to everyone. That's why my courses are simple, pragmatic and free of BS.

icon
Reviews

4.5

411 total reviews

5 star 4 star 3 star 2 star 1 star
% Complete
% Complete
% Complete
% Complete
% Complete

By Mehmet Aydin Unlu on 2 weeks ago

this is the one of the best course in Udemy. Thank you Mosh. You are very clear and understandable instructor.

By Elan Velazquez on a month ago

Was a great course, great explanation. This course you can only apply it if you want yo use it on personal projects or for entrepreneur not for empresarial purpose.

By RoboRidley on 2 months ago

As a fairly new developer who didn't get to learn much about best practices and didn't have much time to put what was taught in class into practice, this course has been very useful and it's very easy to understand. I feel like I know what I'm doing now when I refactor and I've already applied what I learned here at work, even if I work in a different coding language! Very good course, thank you Mosh!

By Daniel Terceros on 2 months ago

Excellent content, explanation and demonstration as always!. I'd add more examples as extra source code to practice more (initial / refactored). Thanks Mosh

By Timothy Patch on 5 months ago

Fantastic course and I recommend this one to associates quite often.

By Ville Forsman on 2 months ago

Being new to ReSharper the course was extremely beneficial. There were also numerous programming styles introduced that I will certainly be using in future development.

By Fredrik Strid on 2 months ago

Really liked this course, alot of useful tips and good examples that I will start to practice immediately. The only con that I find is that reshareper is used, even if it would mean a longer video because of less efficienty I still would prefer it without resharper.

By Sebastian Morgenroth on a month ago

This course was very good and easy to understand. It helps me a lot to understand my own mistakes while coding. Thank you very mush!

By Luis Diego Arias Sanchez on 5 months ago

Good content, but I don't like the use of a propietary tool as ReSharper to develop the training. I don't have the posibility to use that tool on my job, so I researched about the commands to complete the tasks without that tool. It is possible to do, but it require to investigate and it takes time. I paid for a training to learn no to investigate the contents by myself.

By Damyan Momchev on 2 months ago

I believe the reliance on Resharper was a bit too heavy. A big portion of the examples was impossible to do easily without it. While I do see the benefit of the extension, not everyone is using it, so there should have been a heavier focus on the principles of refactoring and less on how to automate it with Resharper. I found myself doing a lot of things manually and searching for extra information due to that.

By Adam Sheikh on 3 months ago

Good quality audio/video, clear and understandable most of the time, does not cover that many scenarios, and definitely does not take into consideration the different levels of students taking this course. If you do not know unit testing, you won't understand about half of what goes on in this course, if you do not take HIS other courses, you'll be lost at times with the references he makes to them. This course could very much just be a free and/or promotional course. But again, why make it free when you can charge for it, right?

By Teguh Wicaksono on 2 months ago

Actually, I hope there are more contents about bad/smell code and make them cleaner code. But, I think that was not much enough since there are more part show about how to use ReSharper.