I want to check if a certain line of a file is empty, and if it is, do something.
if(File.ReadLines("MainSave.txt").Skip(1).First() == null) { // do something }
Aucun commentaire:
Enregistrer un commentaire