Files, Logging & Streaming Flashcards
What are options for logging during program execution?
Write logs to files, the console, debug
Why would you want to use conditional complication?
If an output is required only when certain conditions hold true.
What is the difference between a text and binary file?
A text file stores data using ASCII values (alphabet, digits and symbols). Binary file contains a sequence or a collection of bytes.
What is a file signature ?
A file signature in computer programming is a unique identifying number located at the beginning of a file?
What do all .NET streams have in common? Why are there different types of derived streams?
They all have a reader and writer that are derived from the base class. However they use different streams for different data types and encoding.