Search
Contents
3.
Control Flow and Collections
3.
Control Flow and Collections
ΒΆ
3.1. Conditionals
3.1.1. Operators
3.1.1.1. Comparison Operators
3.1.1.2. Logical Operators
3.1.2.
if
Statements
3.1.3.
if
else
3.1.4.
else
if
3.1.5.
switch
Statements
3.1.5.1. Fallthrough
3.1.6. Check Your Understanding
3.2. Loops
3.2.1.
for
Loop
3.2.2.
foreach
Loop
3.2.3.
while
Loop
3.2.4.
do-while
Loop
3.2.5. Break Statements in Loops
3.2.6. Continue Statements in Loops
3.2.7. Concatenating Strings in Loops
3.2.8. Check Your Understanding
3.3. Collections
3.3.1. Data Structures
3.3.2. C# Collections Namespace
3.3.3. Gradebook, Three Ways
3.4. List
3.4.1.
List
Iteration
3.4.1.1.
do-while
3.4.1.2.
foreach
3.4.1.3.
for
3.4.2. List Methods
3.4.3. Check Your Understanding
3.5. Array
3.5.1. Check Your Understanding
3.6. Dictionary
3.6.1. Dictionary Methods
3.6.2. Check Your Understanding
3.7. Exercises: Control Flow and Collections
3.7.1. Array Practice
3.7.2. String Practice
3.7.3. List Practice
3.7.4. Dictionary Practice
3.7.5. Bonus Mission
3.8. Studio: Counting Characters
3.8.1. Getting Started
3.8.2. Some Items to Ponder Before Coding
3.8.3. Sample Input
3.8.4. Sample Output
3.8.5. Bonus Missions
3.8.5.1. Super Bonus
←
2.6.
Studio: Area of a Circle
3.1.
Conditionals
→