Intermediate Programming with C#

Feb 12 2019 · Video Course (2 hrs, 33 mins) · Beginner

While you can create a C# program with just variables and control flow, C# is an object oriented language (OOP). This means you organize your code into objects which interact with each other. This course will provide the basics of OOP by introducing you to value types and reference types.

5/5 1 Rating · Leave a Rating

Version

  • C# 7, Windows 10, Visual Studio 2017

Working with Value Types

Introduction

2:37 Free

In Part 1 of this course, you'll learn about the basics of working with value type objects and how to create your own.

1

Structs

8:48 Free

Let's talk structs: learn how to create a struct and why using them can assist in grouping data together.

2

In this challenge, you'll create an object that contains data which you'll print to the screen.

3

Methods

7:55 Free

In this episode you'll be introduced to the concept of methods and how to define them on your objects.

4

Challenge time! In this episode, you will try writing your very own first method. Give it a shot!

5

Tuples

10:02 Free

Let's talk tuples: here you'll learn how to use tuples to return multiple values from a single method.

6

Properties

8:17 Free

This episode introduces you to the concept of properties and how they can save you time while writing code.

7

Challenge time! Your task in this episode is to write your own custom property to set and get values.

8

Let's talk about constructors. In this episode, you will be introduced to constructors and find out how they are used.

9

Challenge time! In this challenge, you'll write your own constructor to set the values of a score object.

10

Namespaces

8:52

In this episode, you'll be introduced to namespaces and how they are useful to prevent namespace collisions.

11

Conclusion

2:23

Now that you have an understanding of value type objects, it's time to move on to Part 2, where you'll learn about reference objects.

12

Working with Reference Types

Welcome to Part 2! Here, you'll learn about reference types and how they are managed differently in memory.

13

Classes

9:12

This episode shows how to create a reference type object by way of the class and shows the difference between value type objects.

14

Inheritance allows you to inherit code from other objects, which can be quite powerful for avoiding reuse.

15

Challenge time! Are you ready to create a family of objects? This challenge will get you started.

16

This episode introduces the concept of overloading - you'll learn how to create two methods with the same name.

17

Overriding

9:00

Sometimes you need to override your parent method to provide your own. This episode shows you how.

18

Abstract

5:12

Learn the difference between a normal class and abstract class, and the implications of being abstract.

19

This episode shows the difference between a class constructor versus a struct constructor, and what it means to have a constructor chain.

20

Static

9:24

This episode introduces the static keyword and how it can be used to define class level variables.

21

Interfaces

9:56

Interfaces allow you to define behaviors that classes must implement. Watch this video to find out how!

22

Polymorphism

10:49

This episode teaches you what it means to be polymorphic and how you can use it to make your code dynamic.

23

Conclusion

1:45

Course complete! You should now have a good grasp of objects and how to use them to improve your code.

24

Contributors

Comments