C# program to get the concept of reference in list

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



dnfResult True

Comments or Responses

Login to post response