Hello,
'
VB
' takes it easy and it leds to be forgotten some elaborate works by developers.
I don't like '
VisualBasic.Net
' because it's like an automatic car, but a nice car!
By the way I think you could try this:
Random rndAlphabet = new Random();
Random rndAlphaDisplay = new Random();
foreach (char CharValue in captchaDigit.ToCharArray())
{
int intAlphaDisplay = rndAlphaDisplay.Next(0, 9);
if (strAlphaDisplay.ToCharArray(intAlphaDisplay, 1).First() == '1')
{
CharValue = alphabets(rndAlphabet.Next(0, 51));
}
}