if we use virtual keyword in base class but not using override keyword in derived class what will happen?
sivak
-7
Junior Poster
Recommended Answers
Jump to PostNothing would happen. but for more clarification what will happen when?!
An example what would happen if you didn't override ToString method?! Nothing it'd return the name of the class.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.