MCQs>IT & Programming>C#>What is the difference between an abstract and a virtual function in C#?
C# MCQs
What is the difference between an abstract and a virtual function in C#?
Answer
Correct Answer: An abstract function has no implementation and it can only be declared on an abstract class and its derived class must provide an implementation. A virtual function provides a default implementation and it can exist either in an abstract class or a non-abstract class; virtual functions can be overridden.
Explanation:
Note: This Question is unanswered, help us to find answer for this one