Console.BackgroundColor = ConsoleColor.Yellow; Console.Clear();
Different Types of ApplicationsThe three main types of application that can be written in C# are.
- Winforms - Windows like Forms.
- Console - Command line Input and Output.
- Web Sites.
Manipulating DataIn the rest of this lesson we'll look at variables, types and classes. No matter what type of application you are writing you need somewhere to store data. This data can be numbers, text or even digital media like a graphical image or music file. The CPU doesn't care what we think the data represents- it just sees it as byte sized numbers in memory. It's what we tell the CPU to do with the data that matters.
The lessons have been learnt with languages like C that when you relax how your program handles data then it gets harder to write correctly functioning programs. Strict type checking means the compiler is more likely to find a fault while the program is being developed instead of a user finding the fault when running it. It's much cheaper (and less aggravating!) to fix faults during development than in a deployed application.
On the next page : Strict Typing in action.