In this exercise of C#, you need to create a program that asks the user for several sentences (until they just press Enter without typing anything) and stores those s...
In this exercise of C#, you need to create a program that asks the user for several sentences (until they just press Enter without typing anything) and stores those s...
In this exercise of C#, you need to create a program that displays all the contents of a text file on the screen. The file name will either be entered via the command...
In this exercise of C#, you need to expand the TextToHtml class so that it can dump its result to a text file. You should create a ToFile method that ta...
In this exercise of C#, you need to create a Logger class with a static Write method, which will append a certain text to a log file. The method should ...
In this exercise of C#, you need to create a program that behaves like the Unix "more" command. The program should display the contents of a text file and prom...
In this exercise of C#, you need to create a program to replace words in a text file, saving the result into a new file. The program should take as parameters the fil...
In this exercise of C#, you need to create a program to count how many times a specific character appears inside a file of any kind. The file and the letter to search...
In this exercise of C#, you need to create a program that checks if a BMP image file seems to be correct. The program must verify if the first two bytes of the file ...
In this exercise of C#, you need to create a program that asks the user for their name, age (as a byte), and the year they were born (as an int), and st...
In this exercise of C#, you need to create a basic C# to Java translator. The program should accept C# source files and generate an equivalent ...
This C# exercise aims to teach how to manipulate text files and reverse their content using basic programming structures. In this exercise, you need to create ...
This C# exercise aims to teach how to check the validity of a GIF image file. In this exercise, you need to create a program that reads the first four bytes of...
This C# exercise aims to expand a friends database by allowing data to be loaded from a file at the beginning of each session and saved to...
This C# exercise involves creating a basic Pascal to C# translator. The program should accept code written in Pascal and convert it to an equival...
This C# exercise involves creating a program that reads a text file and dumps its content into another file, making a transformation in the process. The transformatio...
This C# exercise involves creating a program that reads a file of any kind and dumps its content into another file, applying a transformation in the process. The tran...
This C# exercise involves creating a program to "invert" a file. The program must take an original file and create a new one with the same name but with the ".inv" ex...
This C# exercise involves creating a program to encrypt a text file into another text file. The program should be able to read the content of a text file, apply an en...
This C# exercise involves creating a program to count the number of words stored in a text file. The program should read the content of a text file, process it, and c...
This C# exercise involves creating a program to display the width and height of a BMP file using a BinaryReader. The program should read the BMP file header an...
This C# exercise involves creating a "Text to HTML converter". The program should read a source text file and create an HTML file from its contents. The destination f...
This C# exercise involves creating a program to "invert" a file using a FileStream. The program should create a file with the same name as the original file, b...
This C# exercise involves creating a program that reads a BMP file using a FileStream and displays its width and height. The BMP format has a spe...
This C# exercise involves creating a program that copies a source file to a destination file using a FileStream and a block size of 512 KB. The program should ...
This C# exercise is about the ID3 specifications, which apply to any file or audiovisual container, but are primarily used with audio containers. There are three comp...
This exercise consists of creating a program that converts simple C programs, such as the following one, into C#, ensuring that the resulting program compiles ...
This exercise involves creating a program that splits a file (of any kind) into pieces of a certain size. The program should receive the file name and the desired size of th...
This exercise involves creating a program to encrypt and decrypt a BMP image file by changing the "BM" mark in the first two bytes to "MB" and vice versa. The program should...
This exercise involves creating a program that reads a CSV file with four data blocks (three text fields and one numeric) separated by commas, and generates a text file wher...
This exercise involves creating a C# program that determines if two files (of any kind) are identical, meaning they have the same content. The program should c...
This exercise involves creating a C# program to decode an image file in the Netpbm format (specifically, the P1 format, which is for black and white ima...
This exercise involves creating a C# program to check if a file is a PCX image and, if so, extract and display the image's dimensions (width and height). To do...
This exercise involves creating a C# program that extracts only the alphabetic characters contained in a binary file and dumps them to a separate file. The program sh...
This exercise involves creating a C# program that converts simple C# programs to their equivalent in the Pascal language. The program should read C# cod...
This exercise involves creating a "dump" utility: a hex viewer that displays the contents of a file, with 16 bytes per row and 24 rows per screen. The program should pause a...
This exercise involves creating a program that displays the list of fields stored in a DBF file. The DBF format is used by the old dBase database manager and is still suppor...
This exercise involves creating a program to censor text files. The program should read a text file and output its contents to a new file, replacing certain words with "[CEN...
In this exercise, you need to create a C# program capable of parsing SQL INSERT commands and extracting their data into separate lines of text. The program should pro...
The PGM format is one of the versions of the NetPBM image formats. Specifically, it is the variant capable of handling images in shades of gray. Its header starts with a line conta...
In this exercise, you are asked to develop a program in C# that can display a 72x24 BMP file on the console. To do this, you must use the information contained...