Question: What is a value type and a reference type?Answer: A reference type is known by a reference to a memory location on the heap.A value type is directly stored in a memory location on the stack. A reference type is essentially a pointer, dereferencing the pointer takes more time than directly accessing the direct memory location of a value type. |
Is it helpful?
Yes
No
Most helpful rated by users:
- Name 10 C# keywords.
- What is public accessibility?
- .NET Stands for?
- What is private accessibility?
- What is protected accessibility?