Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 1
What am I missing in drawing an application? I keep getting an error when I try to inherit an instance from the class
4 ответов
+ 3
You have to use the override keyword. An override can't be virtual. You're not inheriting from the Draw class, you're implementing the IDraw interface.
+ 2
Class Brush and class Spray should inherit from the Draw class and override the StartDraw() method.
+ 1
Yea you're right ChaoticDawg
Many thanks
0
ChaoticDawg, yes you're right but even when I save the changes, it doesn't override the StartDraw() method