Mid OOP

What are the performance differences between interfaces and abstract classes?

  • Abstract classes are slightly faster because they use direct method calls.
  • Interfaces may incur slight overhead due to indirect method calls via vtable.
  • Difference is usually negligible in most applications.

More from C# Programming Tutorial

All questions for this course