How to check the content of the string AND the length of it in c#? : Basically, im trying to write a game something like a jackpot with 3 slots in console. According to user input, user will be awarded. But first, i need the user to write the correct string, if user input it something different, program will re-ask the input. user can enter 3 of the following : 
X , Y , Z, x, y, z and J. 
Some examples of user input : XyZ, XXJ, ZJy...
And i need to check if user input length is 3 characters long, and contains XYZxyzJ using loops and if-else statements. Any help would be appreciated!