Object:

Definition: An object is a real world entity or a physical entity.

Creating objects:

We can create object for the following class as shown below.
 public class Doctor
 {
   public string name="Dr.Rajeev";
   public int age=42;
   public string qualification="MBBS";
   /*variables which are declared directly inside class is called as Class level variables
   of fields or global variables.*/
 }
 public class Test
 {
   public static void Main(string[] args)
   {
     Doctor d=new Doctor();
     /* d and args are local variable (variables which are declared in methods are called as         local variables. */
     /* For printing data present in Doctor class object use main variable name [dot] sub variable name . That is d.name , d.age so on...*/
    Console.WriteLine(d.name);
    Console.WriteLine(d.age);
    Console.WriteLine(d.qualification);
   }
 }

Code discussion:

In the above given code when CLR observes new Doctor() , it will create an object of Doctor class or in simple words when CLR observes new keyword followed by class name it will create the object of the specific class. In the above given code d is not an object it is a variable pointing to the object.

How object is created in memory:

Note: Use pascal notations for creating class names.
as per pascal casing doctor must be written as Doctor and doctorinfo must be written as DoctorInfo.
That is use upper case for word starting characters and lower case for other characters.

Syntax for creating objects:

new and classname will usually creates object.

Assignment:

Create an object for the following Patient class and write code for printing data present in patient class object in the Main method.
 public class Patient
 {
   public string name="Sourav";
   public int age=49;
   public string disease="diahria";
 }
 public class Test
 {
   public static void Main(string[] args)
   {
     /* write code for printing data present in patient class object. */
   }
 }