Examveda

What does the File.AppendText() method do in C#?

A. Reads the entire contents of a file into a string

B. Appends a text file to another file

C. Opens an existing file or creates a new file for writing and appends text at the end of the file

D. Returns the size of a file in bytes

Answer: Option C


Join The Discussion

Related Questions on File Handling and Input Output in C Sharp