title: Split a Rectangle into n equal Parts
body: <p>I need to split a rectangle Rect Structure, Rect(Double X, Double Y, Double Width, Double Height) into a number of smaller rectangles/structures for n = 2, n= 4 and n = 6, i define a Rect for my Diagram (Nodes and Links) that bounds the whole Diagram</p>
  
  <pre><code>Rect b = activeDiagram.Panel.DiagramBounds;
  </code></pre>
  
  <p>Can someone provide an example of doing it with my structure in C#?</p>