How to realize the mathematical sigma & pi notation in C#? : <p><strong>Sigma notation</strong>: The summation of a sequence for i from n to m.</p>

<p><strong>Pi notation</strong>:    The product of a sequence for i from n to m.</p>
