C#C
C#3y ago
Mek

✅ Need Help Passing Code Off To Helper Function

this is my current code https://pastebin.com/RFRQshGX. I'm trying to split it off into 1 or 2 helper functions to clean things up a bit. The first helper function needs to check if the users input is an integer and the second function needs to check if the integer is an index of the list, but I can't figure out how to separate it and get the input correct. The helper functions also need to return the correct values too please. Any errors that I have encountered are commented next to the line throwing the error. Thanks.
Was this page helpful?