ANKO Code Academy
AI-Native Coding Learning Platform
Courses
Labs
Discussions
10 min
presentation
Virtual Methods and Override
Virtual Methods and Override
0 / 10 completed
1
The Problem Without Virtual
2
Virtual and Override
3
How Virtual Methods Work
4
Calling Base Implementation
5
Virtual Properties
6
Multi-Level Override
7
Sealed Override
8
Polymorphic Collections and Methods
9
Override vs New Comparison
10
Key Takeaways
The Problem Without Virtual
Without
virtual
, method calls are based on the variable type, not the object type:
Skip
Previous
Step 1 of 10
Next
← → Navigate
Space: Skip / Next
Enter: Next
Previous
Next