System.IO.FileInfo.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString() { throw null; }
    }

Same methods

FileInfo::ToString ( ) : String

Usage Example

Example #1
0
 public void Add(string a)
 {
     using (StreamWriter writer = new StreamWriter(file.ToString(), true, System.Text.Encoding.Default))
     {
         writer.WriteLine(DateTime.Now + " - " + a);
     }
 }
All Usage Examples Of System.IO.FileInfo::ToString