📜  C# fileinfo 创建日期 - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:38.389000             🧑  作者: Mango

代码示例1
DateTime creation = File.GetCreationTime(@"C:\test.txt");
DateTime modification = File.GetLastWriteTime(@"C:\test.txt");