C# program to get the concept of reference in list

Amatya
Posted by Amatya under C# category on | Points: 40 | Views : 235
C# program to get the concept of reference in list
var dnfLst_1 = new List<int>() { 10, 20, 30, 40 };
var dnfLst_2 = new List<int>() { 10, 20, 30, 40 };
bool dnfResult = dnfLst_2.Equals(dnfLst_2);



dnfResult false

Comments or Responses

Login to post response