O'Reilly logo

From Java to C#: A Developer's Guide by Heng Ngee Mok

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required