Treehouse_Csharp_Objects

در این آموزش تصویری با اصول اساسی برنامه نویسی شی گرا در سی شارپ آشنا خواهید شد. همچنین با مفهوم کلاس و اشیا، حلقه ، آرایه، استثنا و … آشنا می شوید.سپس با توجه به آموزشهایی که در این دوره می بینید قادر به ساخت یک بازی به زبان سی شارپ خواهید بود.

این دوره آموزشی محصول موسسه Treehouse است.

سرفصل های این دوره:

  • برنامه نویسی شی گرا
  • انواع و اشیاء
  • مقداردهی اولیه شی
  • مقداردهی اولیه
  • کلاس ها
  • وراثت
  • حلقه ها
  • پردازش استثنا
  • و …

عنوان دوره: Treehouse Csharp Objects

مدت دوره: 313 دقیقه

نویسنده: Jeremy McLain

 توضیحات:

https://teamtreehouse.com/library/c-objects
Treehouse Csharp Objects

Jeremy McLain
313-minute


In this course we'll build on what you learned in C# Basics. You'll learn about Object Oriented Programming (OOP). We'll use OOP to write the code for a tower defense game. After completing this course, you'll have learned most of the syntax of the C# programming language.
What you'll learn
Core Principles of Object Oriented Programming
Classes and Objects
Method, Properties, and Fields
For Loops
Arrays
Exceptions


Object-Oriented Programming
We'll discuss some of the basics concepts of object oriented programming and exactly what it means to be "object oriented". We'll learn the differences between objects and classes. Then we'll see how to create classes and objects in C#.
13 steps
Welcome
1:30
Object-Oriented Programming
2:29
Object-Oriented Programming
5 questions
Types
3:14
Instantiation
6:28
Types and Objects
5 questions
Instantiation
2 objectives
Fields
6:18
Fields
1 objective
Object Initialization
5:14
Initialization
3 objectives
Practice Writing Classes
3:40
Wrap-up
4 questions
Methods
We'll learn about the role that methods play in OO.
9 steps
Inheritance
We'll learn about one of the four core principles of OO: inheritance. We'll also learn how inheritance is used to create and handle custom exceptions.
12 steps
Encapsulation and Arrays
We'll learn about another core principle of OO: encapsulation. We'll also learn all about arrays and put them to use in Treehouse Defense.
10 steps
Encapsulation with Properties
We'll learn about properties in C# and use them to provide good encapsulation in Treehouse Defense.
16 steps
Loops and Final Touches
We'll finish Treehouse Defense by coding up the logic of the game. In the process we'll learn about more types of loops, constants, and static members.
16 steps