Facepalm of the day
Jul. 18th, 2012 04:28 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Just saw this posted on another forum
List<char> _chars = new List<char>();
for (int i = 0; i < 2000; i++)
{
if ((i >= 48 && i <= 57) || (i >= 97 && i <= 122))
{
_chars.Add((char)i);
}
}
The way _chars was used later all that was required wasstring _chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";
no subject
Date: 2012-07-19 03:49 am (UTC)no subject
Date: 2012-07-19 08:07 am (UTC)