title: How to calculate the IP range when the IP address and the netmask is given?
body: <p>When a IP-Range is written as aaa.bbb.ccc.ddd/netmask (<a href="http://en.wikipedia.org/wiki/CIDR_notation" rel="noreferrer">CIDR Notation</a>) I need to calculate the first and the last included ip address in this range with C#.</p>
  
  <p><strong>Example:</strong></p>
  
  <p><strong>Input:</strong> 192.168.0.1/25</p>
  
  <p><strong>Result:</strong> 192.168.0.1 - 192.168.0.126</p>