Skip to content

Files, error handling and debugging

Kaisinel edited this page Apr 4, 2021 · 25 revisions

File

Single File

Reading File Content

Path

Verbatim String

Directory

Stream

StreamReader

StreamWriter

Unmanaged Resources

The Problem - No Garbage Collection

The Solution - Manual Cleanup - Dispose

Errors and How to Handle Them

Exception

Raising Error

Handling

Must Execute

Debugging

Put a Breakpoint

Start Debugging

Navigate Code

Move Forward

Move Deeper

Go Back

Get Out

Inspect the State

Locals

Watch

Change the State

Basic

Intermediate Window

Clone this wiki locally