Ưu đãi trong tuần: Nhập mã UD50 giảm 50k cho đơn từ 300k!
Trang chủ
Menu

C# Developers: Learn the Art of Writing Clean Code

Lập trình viên C#: Nghệ thuật viết Code Sạch

Lập trình viên C#: Nghệ thuật viết Code Sạch

Nắm vững kỹ thuật viết code C# chất lượng và nổi bật trong các buổi phỏng vấn kỹ thuật

4.6
(5,625 đánh giá)
32,019 học viên
Giảng viên
Mosh Hamedani
Phụ đề Việt chất lượng cao Phụ đề tiếng Anh Bán chạy Đánh giá cao
50.000đ 1.269.000đ -96%
✓ Xem giỏ hàng và thanh toán
Bao gồm phụ đề tiếng Việt, tiếng Anh
3.5 giờ video
20 bài giảng
Truy cập vĩnh viễn
Học trên mọi thiết bị
Cập nhật: 17/03/2026

Bạn sẽ học được gì

Phân biệt được code tốt và code dở
Nhận diện các "mùi code" trong dự án của bạn
Tái cấu trúc code an toàn và nhanh chóng với ReSharper
Viết code sạch thể hiện rõ mục đích
Chia nhỏ các phương thức dài thành những phần nhỏ hơn, dễ bảo trì hơn
Chuyển đổi các câu lệnh switch phức tạp sang thiết kế hướng đối tượng
Đơn giản hóa các khối điều kiện lồng nhau/phức tạp
Loại bỏ code trùng lặp
Thiết kế chữ ký phương thức phù hợp

Yêu cầu

C# (mọi trình độ)

Đối tượng phù hợp

Dành cho mọi lập trình viên C# muốn nâng cao chất lượng code

Nội dung khóa học

4 phần • 20 bài giảng
1 Về khóa học
2 Về giảng viên
3 Mã nguồn
4 Đặt câu hỏi
1 Đặt tên kém
2 Quy ước đặt tên không tốt
3 Chữ ký phương thức không rõ ràng
4 Danh sách tham số quá dài
5 Tham số đầu ra
6 Khai báo biến tập trung ở đầu
7 Magic Numbers
8 Điều kiện lồng nhau
9 Câu lệnh switch
10 Code trùng lặp
11 Comments
12 Phương thức quá dài
1 Ví dụ WebForms - Phần 1
2 Ví dụ WebForms - Phần 2
1 Lời kết
2 Quà tặng

Giới thiệu khóa học

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. 



Khóa học liên quan

Khám phá thêm các khoá học cùng chủ đề

Hiển thị tất cả khoá học Clean Code
Hiển thị tất cả khoá học Csharp
Hiển thị tất cả khoá học Refactoring
Hiển thị tất cả khoá học Software Development
Zalo
Tôi có thể tư vấn khoá học cho bạn 😊