Value Type | Reference Type |
---|---|
Value type they are stored on stack | Reference type they are stored on heap |
When passed as value type new copy is created and passed so changes to variable does not get reflected back | When passed as Reference type then reference of that variable is passed so changes to variable does get reflected back |
Value type store real data | Reference type store reference to the data. |
Value types are faster in access | Reference types are slower in access. |
Value type consists of primitive data types, structures, enumerations. | Reference type consists of class, array, interface, delegates |
Value types derive from System.ValueType | Reference types derive from System.Object |
Value types can not contain the value null. | Reference types can contain the value null. |
Thursday, February 5, 2015
Difference between Value Type and Reference Type
Subscribe to:
Post Comments (Atom)
Popular Posts
-
Problem Statement - While creating Power Automate we may face situation where connection reference for the Dataverse Connector missing and w...
-
Many times, it happens that we get an error or exception message while working on the Dynamics 365 UCI form . So, to get more informatio...
-
Objective - To Create Guid PCF Control Pre-Requisites Install Node Js - https://nodejs.org/en/ Install Power Apps CLI - http://download.mi...
-
1. Clone Repository – Login to Azure Devops, open Project, go to Repos and click on “Clone” Note – Here we are using the reposi...
-
Microsoft is about to bring low code power for Model-driven Power Apps and Dataverse using Power Fx. Some areas of innovation: Model-driven ...
No comments:
Post a Comment