C# Essential Training: 2 Flow Control, Arrays, and Exception Handling

Go to class
Write Review

Free Online Course: C# Essential Training: 2 Flow Control, Arrays, and Exception Handling provided by LinkedIn Learning is a comprehensive online course, which lasts for 2-3 hours worth of material. The course is taught in English and is free of charge. Upon completion of the course, you can receive an e-certificate from LinkedIn Learning. C# Essential Training: 2 Flow Control, Arrays, and Exception Handling is taught by Bruce Van Horn.

Overview
  • 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.

Syllabus
  • Introduction

    • Welcome
    • What you should know
    • Using the exercise files
    1. Unit Testing and Test-Driven Development
    • What is unit testing?
    • Create a unit-testing project
    • Writing a unit test
    • Running tests
    • Setting up tab groups
    2. Arrays and Collections
    • 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
    3. Flow Control
    • 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
    4. Exception Handling
    • 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
    5. Getting to Production
    • Working with NuGet packages
    • Logging with NLog
    • Final build
    Conclusion
    • Next steps