C# Intermediate: Classes, Interfaces and OOP
C# 中级:类、接口和 OOP
使用 C 语言进行类、接口和面向对象编程 (OOP) 的深入分步指南#
教程演示🔗
更多编程语言教程
Dive into the intermediate world of C# programming with our comprehensive course “C# Intermediate: Classes, Interfaces, and OOP”. This detailed guide is meticulously designed to elevate your understanding of object-oriented programming, encapsulation, and polymorphism. Enhance your skills in structuring code with classes and implementing efficient solutions through interfaces. With a focus on reusability and best practices, this course is a cornerstone for developers aiming to build scalable and robust applications. By integrating advanced C# features and optimizing software design, you will be well-equipped to tackle complex coding tasks and develop versatile software architectures. Embrace the journey of mastering OOP with C# and witness your code transform into an epitome of efficiency and flexibility.
深入探索我们全面的课程“C# 中级:类、接口和 OOP”中的 C# 编程中级世界。这个详细的指南精心设计,旨在提高您对面向对象编程、封装和多态性的理解。通过类增强代码结构技能,并通过接口实现高效解决方案。本课程专注于可重用性和最佳实践,是旨在构建可扩展和健壮应用程序的开发者的基石。通过整合高级 C# 功能和优化软件设计,您将能够很好地处理复杂的编码任务并开发多用途软件架构。拥抱掌握 C# 的 OOP 之旅,并见证您的代码转变为效率和灵活性的典范。
What you’ll learn 学习内容
-
Work with classes, constructors, fields, properties, methods and indexers
使用类、构造函数、字段、属性、方法和索引器 -
Use encapsulation to improve the robustness of the code and reduce the impact of change
使用封装来提高代码的健壮性并减少更改的影响 -
Re-use code using inheritance and composition
使用继承和组合重用代码 -
Understand the problems with inheritance and how composition solves these problems
了解继承问题以及组合如何解决这些问题 -
Change the behaviour of an application by extending its code, rather than changing it
通过扩展应用程序代码而不是更改应用程序来更改应用程序的行为 -
Develop loosely-coupled, testable and extensible applications using interfaces
使用接口开发松散耦合、可测试和可扩展的应用程序
Requirements 要求
-
Basic understanding of C# constructs: variables, type conversion, classes, conditionals and loops
基本了解 C# 构造:变量、类型转换、类、条件和循环
Description 描述
Whether you want to use C# to build web apps, mobile apps, desktop apps or games, understanding C# classes, interfaces and principles of object-oriented programming is crucial.
无论您是想使用 C# 构建 Web 应用、移动应用、桌面应用还是游戏,了解 C# 类、接口和面向对象编程的原理都至关重要。
This course is the second part of Mosh’s best-selling C# series and is all about classes, interfaces and object-oriented programming. In essence, you’ll learn:
本课程是 Mosh 最畅销的 C# 系列的第二部分,内容涉及类、接口和面向对象编程。从本质上讲,您将了解:
- How to work with classes, constructors, fields, properties, methods and indexers
如何使用类、构造函数、字段、属性、方法和索引器 - How to use encapsulation to reduce the impact of change
如何使用封装来减少更改的影响 - How to improve the robustness of your code
如何提高代码的健壮性 - How to re-use code using inheritance and composition
如何使用继承和组合重用代码 - Why composition is better than inheritance
为什么组合比继承更好 - How to build extensible applications using polymorphism
如何使用多态性生成可扩展的应用程序 - How to develop loosely-coupled, extensible and testable applications using interfaces
如何使用接口开发松散耦合、可扩展和可测试的应用程序
There are lots of free tutorials and videos on YouTube. Why would you want to take this course?
YouTube 上有很多免费的教程和视频。你为什么要参加这门课程?
The answer is simple: quality of teaching.
答案很简单:教学质量。
Mosh is a passionate software engineer with over 13 years of experience developing applications in C#. He is the author of several best-selling C# courses on Udemy and knows how to lead you through a series of baby steps in a logical way.
Mosh 是一位充满激情的软件工程师,拥有超过 13 年的 C# 应用程序开发经验。他是 Udemy 上几门畅销的 C# 课程的作者,并且知道如何以合乎逻辑的方式引导您完成一系列婴儿步骤。
So, from the very beginning to the very end, you’ll be confident that you’ll be in good hands and watching every minute of the course, unlike the reading many free tutorials and videos, does not waste your precious time.
因此,从一开始到最后,您都会确信自己会得到很好的照顾,并且与阅读许多免费教程和视频不同,观看课程的每一分钟都不会浪费您宝贵的时间。
Each section is equipped with a balanced mix of theory and practice. At the end of each section you’ll get exercises to master the concepts you learn in that section.
每个部分都配备了理论和实践的平衡组合。在每个部分的末尾,你会得到练习,以掌握你在该部分学到的概念。
And one last reason: all videos are produced with high quality video/audio, to provide you the best learning experience.
最后一个原因:所有视频均采用高质量的视频/音频制作,为您提供最佳的学习体验。
THE COMPLETE C# PACKAGE 完整的 C# 包
This course is the second part of Mosh’s complete C# series on Udemy:
本课程是 Mosh 关于 Udemy 的完整 C# 系列的第二部分:
- Part 1: C# Basics for Beginners: Learn C# Fundamentals by Coding
第 1 部分:面向初学者的 C# 基础知识:通过编码学习 C# 基础知识 - Part 2: C# Intermediate: Classes, Interfaces and Object-oriented Programming
第 2 部分:C# 中级:类、接口和面向对象编程 - Part 3: C# Advanced: Take Your C# Skills to the Next Level
第 3 部分:C# 高级:将您的 C# 技能提升到一个新的水平
WHAT OTHER STUDENTS WHO HAVE TAKEN THIS COURSE SAY:
其他参加过这门课程的学生怎么说:
“I’ve actually landed my first job as a Junior software developer. I owe a lot of it to you because your courses have been EXTREMELY helpful. May God bless you and your efforts to create high quality courses. This has really changed my life from working as a security guard and doing websites for free, now I am a professional.” -Danish Jafri
“实际上,我已经找到了我的第一份工作,成为一名初级软件开发人员。我欠你很多,因为你的课程非常有帮助。愿上帝保佑您和您为创建高质量课程所做的努力。这真的改变了我的生活,从做保安和免费做网站,到现在我是一名专业人士。
“Your courses have given me the confidence to get out of my dead end job and apply for a full time coding job. I am very happy to say that I just finished the job interview and they gave me the job!!!” -Dan Farnell
“你们的课程给了我信心,让我走出了死胡同,申请了一份全职编码工作。我很高兴地说,我刚刚完成了工作面试,他们给了我这份工作!!“ -Dan Farnell
“Outstanding quality! I have come to learn that all Mosh’s courses are top notch. This course is no different! The content is beautifully designed, well organized with great examples, and delivered in a clear and concise manner (with great video and audio quality)! I also loved that this course includes exercises. Fantastic stuff!” -Roger Sæle
“卓越的品质!我开始了解到 Mosh 的所有课程都是一流的。这门课程也不例外!内容设计精美,组织良好,有很好的例子,并以清晰简洁的方式提供(具有出色的视频和音频质量)!我也喜欢这门课程包括练习。太棒了!
“Love it! This guy definitely knows what he’s talking about. He strives to make his courses as comprehensive as possible and he teaches you several tricks along the way.” -Jeb Watson
“喜欢它!这家伙绝对知道他在说什么。他努力使他的课程尽可能全面,并在此过程中教你一些技巧。
“As with all of his courses his passion and love for programming is infectious. He does a great job of intermixing theory with hard examples and cautions with practicality. If you learn better by watching and examples then reading and theory this is a must watch to move beyond the learning the syntax of c#.” -Michael Paul
“与他的所有课程一样,他对编程的热情和热爱具有感染力。他很好地将理论与硬例子相结合,并将警告与实用性相结合。如果你通过观看和示例来学习,那么阅读和理论,这是必须观看的,以超越学习c#的语法。
“Excellent course! All of Mosh’s courses are very much worth taking if you really want to learn C# in a professional way. Not only does Mosh clearly describe the syntax of the language and explain the language concepts, but he also constantly emphasizes the importance of good programming practices” -Tony Zampini
“优秀的课程!如果您真的想以专业的方式学习 C#,那么 Mosh 的所有课程都非常值得一读。Mosh 不仅清楚地描述了语言的语法并解释了语言概念,而且还不断强调良好编程实践的重要性“-Tony Zampini
ABOUT YOUR INSTRUCTOR 关于您的导师
Mosh (Moshfegh) Hamedani is a passionate software engineer and teacher with 13 years of experience building applications using C# (since the first release of .NET Framework in 2002). Mosh is a full-time developer and what you are going to learn in this course is the result of his day-to-day work as a hardcore programmer along with years of studying,
Mosh (Moshfegh) Hamedani 是一位充满激情的软件工程师和教师,拥有 13 年使用 C# 构建应用程序的经验(自 2002 年 .NET Framework 首次发布以来)。Mosh 是一名全职开发人员,您将在本课程中学到的是他作为铁杆程序员的日常工作以及多年学习的结果,
Mosh’s students describe him as a passionate teacher who knows how to take a student on a series of logical steps and enriching them with a great mixed of theory and practice.
莫什的学生将他描述为一位充满激情的老师,他知道如何带领学生完成一系列合乎逻辑的步骤,并用理论和实践的完美结合来丰富他们。
Who this course is for:
本课程适用于谁:
- Any C# developer who wants to master classes and interfaces
任何想要掌握类和接口的 C# 开发人员 - Any C# programmer who wants to better understand object-oriented programming
任何想要更好地理解面向对象编程的 C# 程序员