C# random string generator with atleast one numeric
<p>I am using this logic to generate random string. How do I force this to have at least one numeric digit in it?      </p>

<pre><code>var charsALL = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz";
var randomIns = new Random();
var resultGenerated = new string(
        Enumerable.Repeat(charsALL, 6)
                  .Select(stringgen =&gt; stringgen[randomIns.Next(stringgen.Length)])
                  .ToArray());
return resultGenerated.ToString();
</code></pre>
