4
Answers

Heap or Stack ?

Sid Ahmed

Sid Ahmed

5y
650
1
Suppose the following declaration :
 
List<int> Ints = new List<int> { 1, 2, 3 }; 
 
List<T> is a reference type
int is value type
 
How the variable "Ints" is stored in memory ?
 
Answers (4)