Add a comment about the hosts func

This commit is contained in:
Tim Young 2019-03-06 12:38:08 +03:00
parent 4014439162
commit e27d960403

View File

@ -241,6 +241,10 @@ namespace EduNetworkBuilder
get { return NetworkAddress + ~_mask; }
}
/// <summary>
/// Return the number of hosts in the subnet.
/// </summary>
/// <returns></returns>
public IEnumerable<UInt32> Hosts()
{
for (var host = NetworkAddress + 1; host < BroadcastAddress; host++)