String building based on user selection
<p>I have a series of checkboxes on a winform. Based on check box selection, application have to build a string. </p>

<p>What is best way of coding for problem.</p>

<p>thanks in advance. </p>

<p>-Harsha</p>

<p>Sol 1: Check every check box in individual 'if' statements and then build the string using string builder. 
But problem is we will have so many if statments. </p>
