-
Get started in Microsoft application development with C#. Learn essential C# techniques for testing code, storing data in arrays, controlling program flow, and handling exceptions.
Overview
Syllabus
-
Introduction
- Welcome
- What you should know
- Using the exercise files
- What is unit testing?
- Create a unit-testing project
- Writing a unit test
- Running tests
- Setting up tab groups
- Simple arrays
- Resizing arrays
- Working with simple arrays
- Testing the simple array class
- Using multidimensional arrays
- Managing ordered data with lists
- Working with lists
- Testing the list implementation
- Introduction to LINQ
- Unordered data and dictionaries
- Evaluating conditions with if-else
- Alternate if-else formats and the ternary operator
- If-else, if-else statements
- Switch statements
- Compound logic with logical OR
- Compound logic with logical AND
- Logical NOT
- For loop
- Testing the assembly
- The foreach loop
- Do and do-while loops
- Managing flow with break and continue
- Adding a console project
- Understanding runtime exceptions
- Debugging exceptions in your code
- Handling exceptions with try-catch
- Using multiple catch statements
- Cleaning up with finally
- Working with NuGet packages
- Logging with NLog
- Final build
- Next steps