FileInfo.FullName : FileInfo « System.IO « C# / C Sharp by API






FileInfo.FullName

  

using System;
using System.IO;

public class MainClass
{
    public static int Main(string[] args)
    {      
    FileInfo f = new FileInfo(@"C:\Test.txt");
    FileStream fs = f.Create();

    Console.WriteLine("Creation: {0}", f.CreationTime);
    Console.WriteLine("Full name: {0}", f.FullName);
    Console.WriteLine("Full atts: {0}", f.Attributes.ToString());

    fs.Close();
    f.Delete();      

        return 0;
    }
}

   
    
  








Related examples in the same category

1.new FileInfo(String fileName)
2.FileInfo.Attributes
3.FileInfo.Create()
4.FileInfo.CreationTime
5.FileInfo.CopyTo(String fileName)
6.FileInfo.Delete
7.FileInfo.Directory
8.FileInfo.LastAccessTime
9.FileInfo.MoveTo(String path)
10.FileInfo.Open
11.FileInfo.OpenRead
12.FileInfo.OpenText
13.FileInfo.OpenWrite()