본문 바로가기
06.C#

C# 파일 데이터 지우기

by chojju 2021. 12. 1.
반응형
File.WriteAllText(path, String.Empty);



또는

File.Create(path).Close();
반응형

댓글