Object-Oriented Programming

At its core, the .NET Framework is built with object-oriented programming in mind. As mentioned previously, MSIL and metadata are stored in each assembly. Metadata in particular provides key object-oriented information. For instance, it shows if a given class method is public, private, or only available to subclasses.

Since what makes something “object-oriented” is somewhat controversial in the realm of computer science, here are some specific features of the .NET Framework that are generally seen as essentials that object-oriented languages must provide:

  • Encapsulation—This refers to the use of classes/types to group together related data and functions. For instance, a payroll application needs to go through each employee ...

Get .NET Framework Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.