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

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