Chapter 3: Control Flow & Collections
Learning Objectives
After completing this chapter, you should be able to do the following:
- Become familiar with C# Operators
==,!=,<,>,<=, and>=
- Write conditionals using:
if,else,if/elsestatementsswitch,break, andcontinuestatements
- Create loops and know when to use them
for,foreach,while, anddo...while
- Know how and when to use list, array, and dictionary collections.
Key Terminology
Throughout this lesson, you will see lots of new vocabulary. Here is everything that you should make note of:
Conditionals
==!=<><=>=ifelseif elseelse ifswitchcasebreakdefault- fallthrough
Loops
forloopforeachloopinwhileloopdo-whileloopcontinueStringBuilder
Collections
- data structure
ListDictionaryKeyValuePairArray