Search
Contents
10.
Control Flow and Collections
10.
Control Flow and Collections
ΒΆ
10.1.
switch
Statements vs.
else
if
10.1.1.
switch
Statements
10.1.1.1. Fallthrough
10.1.2. Check Your Understanding
10.2. More Loops and Break Statements
10.2.1.
foreach
Loop
10.2.2.
do-while
Loop
10.2.3. Break Statements in Loops
10.2.4. Continue Statements in Loops
10.2.5. Check Your Understanding
10.3. Collections
10.3.1. Data Structures
10.3.2. C# Collections Namespace
10.3.3.
using
10.3.3.1.
using
System.Collections.Generic
10.3.4. Gradebook, Three Ways
10.4. Lists
10.4.1.
List
Initialization
10.4.2. List Methods
10.4.3. Check Your Understanding
10.5. List Gradebook
10.5.1.
List
Iteration
10.5.1.1.
do-while
10.5.1.2.
foreach
10.5.1.3.
for
10.6. Array
10.6.1. Check Your Understanding
10.7. Dictionary
10.7.1.
Dictionary
Initialization
10.7.2. Accessing Dictionary Elements
10.7.3. Dictionary Methods
10.7.4. Check Your Understanding
10.8. Dictionary Gradebook
10.9. Exercises: Control Flow and Collections
10.9.1. Array Practice
10.9.2. String Practice
10.9.3. List Practice
10.9.4. Dictionary Practice
10.10. Studio: Counting Characters
10.10.1. Getting Started
10.10.2. Some Items to Ponder Before Coding
10.10.3. Sample Input
10.10.4. Sample Output
10.10.5. Bonus Missions
10.10.5.1. Super Bonus
←
9.10.
Studio: Loops
10.1.
switch
Statements vs.
else
if
→