File and FileInfo Class
n File Is a Utility Class with Static Methods Used to:
l Create, copy, delete, move, and open files
n FileInfo Is a Utility Class with Instance Methods Used to:
l Create, copy, delete, move, and open files
l Can eliminate some security checks when reusing
an object.
n Example:
l Assign to aStream a newly created file named foo.txt in the current directory
FileStream aStream = File.Create("foo.txt");