C# Developers: Learn the Art of Writing Clean Code
4.6 (686 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
5,673 students enrolled
Wishlisted Wishlist

Please confirm that you want to add C# Developers: Learn the Art of Writing Clean Code to your Wishlist.

Add to Wishlist

C# Developers: Learn the Art of Writing Clean Code

Clean coding and refactoring: The skills that every C# developer must know
4.6 (686 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
5,673 students enrolled
Created by Mosh Hamedani
Last updated 5/2017
English
Current price: $10 Original price: $100 Discount: 90% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 3.5 hours on-demand video
  • 1 Article
  • 1 Supplemental Resource
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I 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
View Curriculum
Requirements
  • C# (at any level)
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 Prünster


"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 is the target audience?
  • Any C# developer who has an interest in improving the quality of their code
Students Who Viewed This Course Also Viewed
Curriculum For This Course
20 Lectures
03:23:39
+
Introduction
4 Lectures 06:45


Source Codes
1 page

Asking Questions
02:58
+
Common Code Smells
12 Lectures 02:39:57

Poor Naming Conventions
02:08

Poor Method Signatures
12:26

Long Parameter List
11:33


Variable Declarations on the Top
05:14

Magic Numbers
08:38

Nested Conditionals
23:49

Switch Statements
23:04

Duplicated Code
14:28

Comments
09:43

Long Methods
30:32
+
Complete Refactoring Examples
2 Lectures 34:30
WebForms Example - Part 1
17:10

WebForms Example - Part 2
17:20
+
Additional Resources
2 Lectures 01:35
Final Words
01:01

Get My Other Courses with a Discount
00:34
About the Instructor
Mosh Hamedani
4.6 Average rating
42,837 Reviews
128,591 Students
16 Courses
Passionate Software Engineer and Best-selling Author

Mosh (Moshfegh) Hamedani is a passionate and creative software engineer with a strong focus on pragmatism and simplicity. He started programming at the age of seven on a Commodore 64. Later, during his high school years, he started learning C and C++ . In 2002, along with the first release of .NET, he shifted his focus to C#. Since then, he has been involved in the design and implementation of numerous software projects, including modern web applications, mobile apps, desktop applications and frameworks.


He started teaching on Udemy in 2014 and currently he has over 100,000 students in 182 countries. He's the author of several best-selling courses on Udemy and #1 ranking course on Pluralsight (Become a Full-stack .NET Developer). 


Mosh has a Master of Science in Network Systems and a Bachelor of Science in Software Engineering. He is also a Microsoft Certified Application Developer, Technology Specialist (Web Applications) and Professional.


Outside the software world, Mosh is a photographer, a pianist and a passionate Latin dancer.