Polymorphism | C# Virtual Methods | C# Virtual Override | C# FROM NOVICE TO PRO | #75

Опубликовано: 26 Сентябрь 2026
на канале: #SimpleCode
104,331
6.1k

In this lesson, we'll use a simple example to explore polymorphism in OOP, its purpose, and how to use it in the C# programming language. We'll also examine the tool needed to implement polymorphism: overriding virtual methods using the virtual and override keywords.

➡️ My C# course FROM BEGINNER TO PROFESSIONAL on Udemy
👉 https://www.udemy.com/course/simpleco...

✅ SOURCE CODE   / iskhodnyi-kod-k-49336543  

🔹 Telegram channel https://t.me/SergeySimpleCode
🔹 Our VK group https://vk.com/smplcode
✅ Source code access and sponsorship   / simplecode  
✅ https://donatepay.ru/don/SimpleCode
✅ BTC wallet: 12oYfJnvt76wjJbpvfhM41m6KPz6uz4LD4
🔹 The base keyword in C# | Inheritance and class constructor | C# FROM BEGINNER TO PROFESSIONAL | # 72    • Ключевое слово base в C# | наследование и ...  
🔹 As is operators in C# | Inheritance and type casting in C# | C# FROM BEGINNER TO PROFESSIONAL | # 73    • Операторы as is c# | наследование и привед...  
🔹 Inheritance in C# and access modifiers | protected modifier c# | C# OOP | # 74    • Наследование в C# и модификаторы доступа |...  
✅ Subscribe to the channel    / @simplecodeit  

00:00 ► About C-Sharp access modifiers
00:31 ► What is polymorphism and what problem does it solve?
04:51 ► Virtual override, overriding virtual methods, and polymorphism
09:35 ► What happens if you don't override a class method
11:10 ► Polymorphism and access modifiers

#C-Sharp #simplecode #programminglessons