Hehe.. if you have the time!
Asked yesterday, seen a great solution by L.B here:
How to get all the possible 3 letter permutations?
His simple solution, just change the alphabet:
var alphabet = "abcdefghijklmnopqrstuvwxyz1234567890";
var query = from a in alphabet
from b in alphabet
from c in alphabet
from d in alphabet
from e in alphabet
from f in alphabet
from g in alphabet
from h in alphabet
from i in alphabet
from j in alphabet
from k in alphabet
from l in alphabet
select "" + a + b + c + d + e + f + g + h + i + j + k + l;
foreach (var item in query)
{
Console.WriteLine(item);
}
A more advanced answer might be the CartesianProduct