C# Refactoring | Powerful code optimization (Udemy.com)
Introduction to the code refactoring practice in C#
Created by: Max Media
Last updated January 2019
What you will learn
- Get familiar with the main types of code smells. Learn to find them in the code
- You can optimize your code, make it clearer, more logical and readable
- Learn how to perform the most popular refactorings, their mechanics and step-by-step application in code
How it compares
Against the other 194 rated Udemy courses in C# on CourseDuck:
- Rating4.3 out of 5higher than 26% of them
- Reviews224#116 of 195 by number of reviews
- Length1.6 hoursshorter than 92% of them
- Last updatedJanuary 2019earlier than 75% of them
Course Description
The main tool great software developers use is code refactoring. In this course I will introduce you to the concept of this powerful practice.
If you have a beginner or intermediate level knowledge or even if you have great experience writing code this course would be helpful to you.
During this course you will learn the following:
- Get familiar with the main types of code smells. Learn to find them in the code
- You can optimize your code, make it clearer, more logical and readable
- Learn about the most popular refactorings, get acquainted with their mechanics
- Learn how to step-by-step apply refactorings in your code
Basic Code Smells
- complex expressions and computations
- multiple assignments to a temp variable
- magic literals in code
- hard to understand conditions
- nested if statements logic
- long method parameter lists
- complex method bodies
- classes with mixed responsibilities
What is Refactoring
Code refactoring is the process of changing your existing code so that it becomes more readable and easy to modify in future.
But these changes should preserve the existing functionality. Code refactoring is a continuous process and it is done in small incremental steps.
- change of existing code
- preserves functionality
- continuous process
- small incremental steps
Refactoring Goals
- better design
- reduced complexity
- readability
- maintainability
- improved architecture
Important to Know
If refactoring is done well, it will greatly improve your code.
by simplifying the underlying logic and eliminating unnecessary levels of complexity.
If done poorly it may change functionality or introduce new bugs.
Refactorings
In this course we will discuss in detail the following refactorings:
- Introduce Explaining Variable
- Split Temporary Variable
- Replace With Constant
- Simplify Condition
- Split Conditional
- Combine Conditional
- Replace Conditional With Guard Clause
- Introduce Parameter Object
- Extract Method
- Extract Interface
- Extract Class
- Extract Super Class
Who this course is for:
- Beginner C# developers who wants to improve their code
Instructor Details
- 4.3 Rating
224 Reviews
Max Media
During the last 15 years, we were developing various software using different programming languages C#, F#, JavaScript, TypeScript, ActionScript, Haxe, Go and so on. As a result, we have gained vast experience in building desktop applications, mobile applications, web services, network software, and games.
We have decided that now is the right moment to share our knowledge and experience with you, to help overcome difficulties in software development and give you an opportunity to improve your skills and do your daily programming job with joy.
Our courses might be helpful not only for beginners, who just started to learn software development but also to intermediate and advanced level developers.
There is no unnecessary information in our lectures, which often added to increase course volume. We understand that you want to save your time and learn quick and start applying your knowledge in practice as fast as possible, so we focus on providing essential information and share knowledge which we use ourselves in our daily work.
More C# courses
C# Developers: Double Your Coding Speed with Visual Studio (2018)
4.7 (4,035 Reviews)
Provider: Udemy
Time: 2.2h
$13.99
Object Oriented Programming with C# - Beginner to Advanced (2020)
4.7 (2,063 Reviews)
Provider: Udemy
Time: 5.6h
$64.99
Learn Game Development with C# Programming and MonoGame! (2025)
4.7 (1,094 Reviews)
Provider: Udemy
Time: 6.6h
$12.99
Reviews
Ya, the course is quite what the topic says. Examples are fine but not great and not ample! Expected at least more than 1 example per video.
First few examples are too basic imo, everyone who's got something to do with programming overally should already know them.
The rest of the course is pretty good.
I am a C# beginner and just begins working on an existing project for adding some new features. The class contents inspire me to do refractor to make code readable as my next step.
It can be become more better , i only like last 13th video , but that is also very complex , try to take some simple example .
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 86 / 100






