Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA Amazon AWS CompTIA Security+ AWS Certified Developer - Associate
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Mindfulness Personal Development Personal Transformation Meditation Life Purpose Coaching Neuroscience
Web Development JavaScript React CSS Angular PHP WordPress Node.Js Python
Google Flutter Android Development iOS Development Swift React Native Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
SQL Microsoft Power BI Tableau Business Analysis Business Intelligence MySQL Data Analysis Data Modeling Data Science
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Online Business Business Plan Startup Freelancing Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee

This course includes:

  • 5.5 hours on-demand video
  • 5 articles
  • 10 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
Development Programming Languages Object Oriented Programming

C# Intermediate: Classes, Interfaces and OOP

An in-depth, step-by-step guide to classes, interfaces and object-oriented programming (OOP) with C#
Bestseller
Rating: 4.6 out of 54.6 (21,913 ratings)
99,199 students
Created by Mosh Hamedani
Last updated 10/2019
English
English, French [Auto], 
30-Day Money-Back Guarantee

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
Curated for the Udemy for Business collection

Course content

8 sections • 45 lectures • 6h 0m total length

  • Preview02:42
  • Preview01:27
  • Source Code
    00:02
  • Exercises
    00:46
  • Asking Questions
    00:33
  • Before You Get Started
    00:50

  • Introduction to Classes
    13:56
  • Constructors
    22:54
  • Object Initializers
    02:20
  • Methods
    23:59
  • Fields
    09:21
  • Access Modifiers
    10:48
  • Properties
    16:19
  • Indexers
    09:30
  • Summary
    7 pages
  • Exercises
    2 pages

  • Preview03:45
  • Preview07:54
  • Composition
    07:27
  • Favour Composition over Inheritance
    08:48
  • Summary
    2 pages

  • Access Modifiers
    22:37
  • Constructors and Inheritance
    09:42
  • Upcasting and Downcasting
    17:45
  • Boxing and Unboxing
    07:09
  • Summary
    3 pages
  • Exercises
    3 pages

  • Method Overriding
    17:15
  • Abstract Classes and Members
    11:58
  • Sealed Classes and Members
    02:38
  • Summary
    3 pages
  • Exercises
    3 pages

  • What is an Interface?
    04:35
  • Interfaces and Testability
    25:12
  • Interfaces and Extensibility
    Preview18:15
  • Interfaces are NOT for Multiple Inheritance
    04:26
  • Interfaces and Polymorphism
    11:47
  • Summary
    3 pages
  • Exercises
    2 pages

  • Final Words
    01:01
  • My Other Courses
    02:02
  • Preview00:20

  • StopWatch Exercise
    12:21
  • Stack Exercise
    07:24
  • Workflow Engine Exercise
    12:36

Requirements

  • Basic understanding of C# constructs: variables, type conversion, classes, conditionals and loops

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.

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:


  • 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?

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.


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

This course is the second part of Mosh's complete C# series on Udemy:

  • Part 1: C# Basics for Beginners: Learn C# Fundamentals by Coding 
  • Part 2: C# Intermediate: Classes, Interfaces and Object-oriented Programming
  • Part 3: C# Advanced: Take Your C# Skills to the Next Level


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


"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


"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


"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



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'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.


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.



So do you want to take your C# skills to the next level? Then take this course now and get started!



Who this course is for:

  • Any C# developer who wants to master classes and interfaces
  • Any C# programmer who wants to better understand object-oriented programming

Featured review

Noah Nordqvist
Noah Nordqvist
51 courses
3 reviews
Rating: 4.5 out of 59 months ago
Mosh keeps delivering with yet another clear and concise course. It's a joy to follow along in the demo's, and none of the lectures are too long or tedious for you to lose focus. I especially am a fan of the Student Code Reviews at the end of the course. This gave a good sense of how some of the other students think when approaching the exercises, and it is really fascinating how we all solve the same issue in so many different ways. A good learning experience!

Instructor

Mosh Hamedani
Passionate Software Engineer and Best-selling Author
Mosh Hamedani
  • 4.5 Instructor Rating
  • 202,192 Reviews
  • 479,991 Students
  • 20 Courses

Hi! My name is Mosh (Moshfegh) Hamedani! I'm a passionate software engineer with two decades of experience and I've taught over 3 million people who to code or how to become professional software engineers through my YouTube channel and online courses.

My goal is to make software engineering fun and accessible to everyone. That's why my courses are simple, pragmatic and free of BS.

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.