C#
What is an object in C#?
Classes are the foundation of C#. A class is a template that defines what a data structure will look like, and how data will be stored, managed, and transferred. A class has fields, properties, methods, and other members.
While classes are concepts, objects are real. Objects are created using class instances. A class defines the type of an object. Objects store real values in computer memory.
Object is blue print of a class.
https://www.c-sharpcorner.com/UploadFile/puranindia/C-Sharp-interview-questions/
Comments
Post a Comment