You can use nested for loops to iterate through all possible all-caps strings of length 6:
main.cs514 chars15 lines
This code iterates through every possible all-caps string of length 6 by nesting six loops. You can replace the code block with whatever you need to do with each string. Note that this will produce 26^6 (308,915,776) strings, so the code block should be as efficient as possible.
gistlibby LogSnag