Which one of the folowing is efficient way to store list of objects?
Hashset<object> listOfObjects = new HashSet<object>();
or
List<object>listOfObjects = new List<object>();
Which one of the folowing is efficient way to store list of objects?
Hashset<object> listOfObjects = new HashSet<object>();
or
List<object>listOfObjects = new List<object>();