[.NET fundamentals] Classes vs. Interfaces
July 4, 2012
This is the second instalment in a collection of articles about .NET fundamentals. The first one dealt with Reference and Value types, or “classes” and “structures” as they are known in VB. In this article I’ll discuss the difference between classes and interfaces. But first allow me to bloviate about OOP.
Object Oriented Programming (OOP) is a programming paradigm that has proven very successful indeed. The bulk of programming languages you’ve heard about will be based on or at least support OOP; LISP, C++, Pascal, Python, the entire .NET framework, the list goes on. I won’t dive into a full description of what OOP is and how it works, there’s plenty of online resources for that already. I’ll just give you a basic breakdown of the concepts.