Input and Output Classes
- slide 27 : 40
Members in class FileInfo
Instance methods and instance properties of class
FileInfo
A single constructor
FileInfo(string)
Properties (getters) that access information about the current file
Examples:
Length
,
Extension
,
Directory
,
Exists
,
LastAccessTime
Stream, reader, and writer
factory methods
:
Examples:
Create
,
AppendText
,
CreateText
,
Open
,
OpenRead
,
OpenWrite
,
OpenText
Classical file manipulations
CopyTo
,
Delete
,
MoveTo
,
Replace
Others
Refresh
, ...