C# (Sharp) Programming Language Question:
Download Job Interview Questions and Answers PDF
Difference between value and reference type.
Answer:
what are value types and reference types?
Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort
Value types are stored in the Stack
Reference type - class, delegate, interface, object, string
Reference types are stored in the Heap
Value type - bool, byte, chat, decimal, double, enum , float, int, long, sbyte, short, strut, uint, ulong, ushort
Value types are stored in the Stack
Reference type - class, delegate, interface, object, string
Reference types are stored in the Heap
Download C# (Sharp) Programming Language Interview Questions And Answers
PDF
Previous Question | Next Question |
Difference between imperative and interrogative code. | What are the two kinds of properties. |