How does a C# application open a file?

A. It opens a file by associating the file with a memory address.
B. It opens a file by reading the contents into RAM and storing them internally as a string.
C. It opens a file by creating an object and associating a stream of bytes with that object.
D. It opens a file by reading each line of a file into an array.


Answer: C

Computer Science & Information Technology

You might also like to view...

What keyword is used to call a function in a parent class from a child class?

What will be an ideal response?

Computer Science & Information Technology

The ________ bar displays the name of the file and the program

Fill in the blank(s) with correct word

Computer Science & Information Technology

At what point is a packet considered to be a giant?

a. It becomes a giant when it exceeds the medium's maximum packet size. b. It becomes a giant when it exceeds 1500 bytes. c. It becomes a giant only when fragmented pieces are reassembled and the packet size is too large. d. It becomes a giant once a VLAN tag is added.

Computer Science & Information Technology

Windows Vista replaced Windows XP.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology