1.

How Do I Declare A Pure Virtual Function In C#?

Answer»

Use the abstract MODIFIER on the method. The class must also be marked as abstract (naturally). NOTE that abstract methods cannot have an IMPLEMENTATION (unlike pure virtual C++ methods).

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



Discussion

No Comment Found