How do I declare a pure virtual function in C# ?

 Posted by Bharathi Cherukuri on 4/23/2012 | Category: C# Interview questions | Views: 3288 | Points: 40

By using the abstract modifier on the method and also the class must be marked as abstract. Note that abstract methods cannot have an implementation (unlike pure virtual C++ methods).

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response