lundi 5 septembre 2022

C#, am I using StreamReader wrong?

Alright. So the issue is, I'm trying to pick a random line on a certain file and assign it to a string variable. It's for whatever reason not letting me use StreamReader to read the line, how do I fix this and is there any reason as to why this is happening?

My code

The error I get




Aucun commentaire:

Enregistrer un commentaire