how to add the strings
<pre><code> string s1Temp ="";  
string  strtemp= "resourceID like'"'+s1Temp+'"' or"
 string[] strNames = { "Joe", "Mary", "Bill", "Fred" };

            //Iterate through the items of array strNames
            for (int i = 0; i &lt; strNames.Length; i++)
            {
              string s2  = strNames[i];
              s1Temp=s2

            }


    }
</code></pre>

<p><strong>how  to add the  strings  strtemp  as  loop  itetares</strong>
 <strong>now i need  to get the  ouput like this  iterate through all the strings</strong></p>

<p>resourceID like'"'+Joe+'"' or resourceID like'"'+Mary+'"' or resourceID like'"'+Bill+'"' or resourceID like'"'+Fred+'"' or</p>

<p>thank you</p>
