C Sharp (C#) - File IO
Which of the following
File class static methods checks if a file exists at a given path?File class static methods checks if a file exists at a given path?File.Exists(path) checks if the file is present. File.ReadAllText(path) reads file content. File.Delete(path) deletes a file. File.Copy(source, destination) copies a file.File.Exists(path).15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions