Characteristics of Reference-type variables

State the characteristics of the reference-type variables which is supported in the C# programming language.

E

Expert

Verified

Variables which are based upon the reference types stores the references to the actual data.

Keywords which is used for declaring reference types are:

a) Class – It refers to the primary building blocks for the programs, that is used to encapsulate the variables and methods into a single unit.

b) Interface -  It consists of the signatures of methods, properties, events, or indexers.

c) Delegate - It refers to a reference type which is used to encapsulate a named or anonymous method.

   Related Questions in DOT NET Programming

©TutorsGlobe All rights reserved 2022-2023.