Exemple #1
0
        public static List <long> ToList(this PrimeSet set)
        {
            var result = new List <long>();

            set.ForEach(result.Add);
            return(result);
        }
Exemple #2
0
 public NonEmpty(long newValue, PrimeSet set)
 {
     this.Value = newValue;
     this.Tail  = set;
 }