public IEnumerator <IPAddress> GetEnumerator() { var first = Begin.GetAddressBytes(); var last = End.GetAddressBytes(); for (var ip = first; Bits.LtECore(ip, last); ip = Bits.Increment(ip)) { yield return(new IPAddress(ip)); } }