Sid Ahmed

Sid Ahmed

  • NA
  • 18
  • 550

Heap or Stack ?

Jun 5 2019 5:03 AM
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)