What is object-oriented programming (OOP)?
OOP is a method to develop logical modules, such as classes that contain properties, methods, fields, and events. An object is formed in the program to represent a class. Therefore, an object encapsulates all the features, such as data and behavior that are associated to a class. OOP permits developers to develop modular programs and assemble them as software. Objects are used to access data and behaviors of dissimilar software modules, like classes, namespaces, and sharable assemblies. .NET Framework supports only OOP languages, like Visual Basic .NET, Visual C#, and Visual C++.