Home > DeveloperSection > Interviews > Briefly explain the characteristics of reference-type variables that are supported in the C# programming language.

Posted on    September-02-2014 11:11 PM

 C# C# 
Ratings:
 1 Answer(s)
  1109  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    September-02-2014 12:00 AM

The variables that are based on reference types store references to the actual data. The keywords that are used to declare reference types are:

Class - Refers to the primary building block for the programs, which is used to encapsulate variables and methods into a single unit.

Interface - Contains only the signatures of methods, properties, events, or indexers.

Delegate - Refers to a reference type that is used to encapsulate a named or anonymous method.


Don't want to miss updates? Please click the below button!

Follow MindStick