Chapter 18. File I/O

File I/O functionality in C# depends largely on the underlying BCL. There are no keywords in C# for dealing with file I/O specifically. [1] This chapter will familiarize you with some of the common file I/O operations so that you can start using them immediately.

[1] This is the same case for Java too. File I/O depends wholly on the underlying Java core classes rather than the language itself.

The classes will not be described fully, and there is usually more than one way to accomplish something. You will be expected to refer to the API documentation for more information.

In order to execute the codes in this chapter, you need the necessary permissions to manipulate your file system. [2]

[2] Permissions and security will not ...

Get From Java to C#: A Developer's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.