public static List <long> ToList(this PrimeSet set) { var result = new List <long>(); set.ForEach(result.Add); return(result); }
public NonEmpty(long newValue, PrimeSet set) { this.Value = newValue; this.Tail = set; }