bytebuster463: (IT Crowd Jen)
[personal profile] bytebuster463
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 was
string _chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";

Date: 2012-07-19 03:49 am (UTC)
From: [identity profile] vyacheslav-f.livejournal.com
Индусы?

Date: 2012-07-19 08:07 am (UTC)
From: [identity profile] bytebuster463.livejournal.com
У них не принято этот вопрос уточнять. Политкорректность, понимаете ли. :)

Profile

bytebuster463: (Default)
bytebuster463

April 2017

S M T W T F S
       1
2 3 45678
9101112131415
16171819202122
23242526272829
30      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 5th, 2025 08:33 pm
Powered by Dreamwidth Studios
OSZAR »