C#C
C#3y ago
AriieSiiS

❔ Help with strings

I put it here because I think it is a quick and very basic question, I have a string with a specific series of letters and I want to check that another string that the user writes by console can ONLY have letters of that string. How can I do it? I mean this is what I have so far but it doesn't work. In the first case I want to be able to enter only those numbers and then I want to be able to enter only one of those letters but it is not well done.
image.png
Was this page helpful?