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