Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AppendAllLines() [1/2]

static void System.IO.File.AppendAllLines ( string path,
IEnumerable< string > contents )
inlinestatic

Definition at line 525 of file File.cs.

526 {
527 if (path == null)
528 {
529 throw new ArgumentNullException("path");
530 }
531 if (contents == null)
532 {
533 throw new ArgumentNullException("contents");
534 }
535 if (path.Length == 0)
536 {
537 throw new ArgumentException(SR.Argument_EmptyPath, "path");
538 }
539 InternalWriteAllLines(new StreamWriter(path, append: true), contents);
540 }
static void InternalWriteAllLines(TextWriter writer, IEnumerable< string > contents)
Definition File.cs:482

References System.SR.Argument_EmptyPath, and System.IO.File.InternalWriteAllLines().