List dansConList = new List(); dansConList[0] = 1; dansConList[1] = 2; dansConList[2] = 3; List dansRandomList = new List
var min = list.Min(); var max = list.Max(); var all = Enumerable.Range(min, max - min + 1); return list.SequenceEqual(all);