Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
C# OOP - Inheritance, Polymorphism, Interfaces
Rating: 4.4 out of 5(116 ratings)
541 students

C# OOP - Inheritance, Polymorphism, Interfaces

Time to really grasp what object-orientation is all about!
Last updated 7/2022
English

What you'll learn

  • Using Classes and Objects
  • What is Encapsulation
  • How to use Inheritance
  • How to apply Polymorphism
  • How to use Virtual members
  • How to use Abstract members
  • What is Type Substitution
  • Working with Dynamic Binding
  • Interfaces and when to use them
  • Static Classes and Members
  • How to create and use Class Libraries
  • Creating and using Structs
  • The difference between Value Types and Reference Types
  • Nullable Value Types
  • Nullable Reference Types

Course content

8 sections16 lectures6h 19m total length
  • Creating Our Projects8:00

    For taking this course using Visual Studio 2022, the only workload you need is ".NET desktop development".

    When creating the project, check the "Do not use top-level statements" checkbox and everything will look just like in the course :)

    /Pontus

  • Completed Projects0:02

Requirements

  • A basic understanding of C# syntax (see my beginner's course or equivalent)
  • I'll be using Visual Studio (free), if you prefer VS Code on Mac or Linux that works too

Description

Platform: C# and .NET

Understanding Object-Orientated Programming in C#

Maybe you’re new to C# and is curious about how to go about creating actual systems of classes that interact with one another. Or maybe you’re an experienced C# developer but never really grasped concepts such as inheritance, type substitution, dynamic binding, virtual, abstract, interfaces etc.

In this course we go through clear lessons and then apply what we learned in dedicated modules with practical exercises.


Building the Dungeons of Doom Game

As we'll pick up new skills along the way, we will keep adding code to our Dungeons of Doom game – a console application where we put our knowledge into practice. Walk around in a dungeon, pick up objects and fight monsters – all while learning about polymorphism and interfaces…


100% Code Compatibility

The code in this course is 100% compatible with the latest version of .NET. Any version of Visual Studio (Community, Professional etc.) will work great, but if you're already comfortable in VS Code or Rider, you can certainly keep using that.


100% Money-Back Guarantee

This course comes with a 30-day full money-back guarantee. Take the course, go through the lectures, do the exercises, and if you're not happy, ask for a refund within 30 days. All your money back, no questions asked.

Who this course is for:

  • Anyone who knows a little C# and now wants to learn about object-orientation
  • C# programmers who never really "got" inheritance, polymorphism, interfaces etc.