Lecture Notes IST-1551
06 Dec 2024
1. Introduction
2. Data and Variables
3. Methods/Functions
4. Selection/Conditional
5. Iteration:
for
Loops
6. Iteration: While Loops
7. Files & Paths
7.1. Files As Streams
7.2.
StreamWriter
7.3.
StreamReader
7.4. Path Strings
7.5. Lab: Files
7.6. Chapter Review
8. Arrays
9. Collections
10. Classes
11. Object-Oriented Programming
12. Data Structure
13. Selected Topics
14. Appendix
Lecture Notes IST-1551
7.
Files & Paths
View page source
7.
Files & Paths
7.1. Files As Streams
7.1.1. File Stream
7.1.2. Simple File Handling:
File
Class
7.2.
StreamWriter
7.2.1. Writing Files
7.3.
StreamReader
7.3.1. Reading to End of Stream
7.4. Path Strings
7.4.1. Paths in C#
7.4.2. The Directory Class
7.5. Lab: Files
7.5.1. Example: Sum Numbers in File
7.5.2. Safe Sum File
7.5.3. Copy to Upper Case
7.6. Chapter Review