C# WriteAllText()

1 개요[ | ]

C샵 WriteAllText()
C#
CPU
0.2s
MEM
46M
0.3s
Copy
using System;
using static System.IO.File;
class Program {
    static void Main() {
        WriteAllText(@"test.txt", "Hello World");
        Console.WriteLine( ReadAllText(@"test.txt") );
    }
}
Hello World

2 같이 보기[ | ]