4
Answers

Heap or Stack ?

Photo of Sid Ahmed

Sid Ahmed

6y
701
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)