첨부 실행 코드는 나눔고딕코딩 폰트를 사용합니다.
------------------------------------------------------------------------------------------------------------------------------------------------------
728x90
728x170

■ File 클래스의 Move 정적 메소드를 사용해 파일명을 변경하는 방법을 보여준다.

 

▶ 예제 코드 (C#)

using System.IO;

string sourceFilePath = "sample.png";
string targetFilePath = "test.png";

File.Move(sourceFilePath, targetFilePath);
728x90
그리드형(광고전용)
Posted by icodebroker
,