1. Course
  2. Binary Files
  3. Inverted file

Inverted file


Last updated: 8/23/2020 Difficulty: Intermediate

Create a program in C# that inverts all the bytes of a binary file. You can use the FileStream object to read and write binary files.

You must create a new file with the same name but with the extension .inv.

Input

Output

Solution

Binary Files

4 / 7

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Advertising