C#中获取文件信息

From , 3 Years ago, written in C#, viewed 49 times.
URL https://pastebin.vip/view/0f304edd
  1. FileInfo fi = new FileInfo(@"C:\file.txt");
  2.  
  3. if(fi.Exists)
  4. {
  5.         Console.WriteLine("Filename : {0}", fi.Name);
  6.         Console.WriteLine("Path : {0}", fi.FullName);
  7. }

Reply to "C#中获取文件信息"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website