COMP2129 Study Guide - Final Guide: Ado.Net, Temporary File, Ole Db

123 views2 pages
18 Feb 2013
Department
Course
Professor

Document Summary

Like the members of the file class, all members in the directory class are public static methods. The directory class provides static methods for creating and moving through directories and subdirectories. The fileinfo and directoryinfo classes add functionality beyond method members of the file and directory classes. They both have a number of public properties and, of course, both offer a public constructor. If you plan to make reference to and use a file or directory several times, you will want to consider instantiating objects of one or both of these classes and use its instance methods. C# uses file streams to deal with stored data. Streams represent a chunk of data and provide a way to work with a sequence of bytes. The streamwriter and streamreader classes make it easy to read or write data to and from text files in c#. the streamwriter class has implementations for write( ) and. Writeline( ) methods similar to the console class methods.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers

Related Documents