C# Fundamentals - Third Edition
TABLE OF CONTENTS
Section Numbers
ABOUT THIS BOOK
1
INTRODUCTION TO C#
2
VISUAL STUDIO: INSTALLING
3
VISUAL STUDIO: CONSOLE APPLICATION SETUP
4
CONSOLE APPLICATION: “HELLO WORLD!”
5
COMMENTS
6
SNIPPET & SHORTCUT KEYS
7
VARIABLES AND DATA TYPES
8
MINI QUIZ: VARIABLES AND DATA TYPES
9
NAMING CONVENTIONS
10
MINI QUIZ: NAMING CONVENTIONS
11
OPERATORS
12
INPUT & OUTPUT
13
ACTIVITY: DISPLAY USER INPUT
14
CASTING
15
MINI QUIZ: CASTING
16
IF, ELSE IF, AND ELSE STATEMENTS
17
ACTIVITY: MAKING DECISIONS
18
SWITCH
19
ACTIVITY: SWITCH
20
PARSE & TRYPARSE
21
ACTIVITY: TRYPARSE
22
LOOPS
23
ACTIVITY: LOOPS
24
ARRAYS
25
ACTIVITY: ARRAYS
26
ARRAYS: 2-D AND 3-D
27
ACTIVITY: 2-D ARRAYS
28
ARRAYS: JAGGED
29
METHODS
30
ACTIVITY: METHODS
31
METHODS: OVERLOAD
32
MINI QUIZ: METHOD OVERLOADING
33
METHODS: RECURSION
34
METHODS: NAMED ARGUMENTS
35
CLASSES
36
ACTIVITY: CLASSES
37
GET-SET PROPERTIES
38
CLASSES: STATIC
39
CLASSES: CONSTRUCTOR
40
MINI QUIZ: CLASS CONSTRUCTOR
41
CLASSES: INHERITANCE
42
MINI QUIZ: CLASS INHERITANCE
43
METHOD: VIRTUAL
44
CLASSES: ABSTRACT
45
CLASSES: PARTIAL
46
ACCESS MODIFIER: PUBLIC, INTERNAL, PROTECTED, AND PRIVATE
47
MINI QUIZ: ACCESS MODIFIERS
48
RANDOM NUMBER
49
ACTIVITY: RANDOM NUMBER
50
MEMORY: HEAP AND STACK
51
MINI QUIZ: MEMORY - HEAP AND STACK
52
MEMORY: BOXING VS UNBOXING
53
STRUCTS
54
RECORDS
55
NAMESPACES & USING DIRECTIVE
56
GENERICS
57
LIST
58
ACTIVITY: LIST
59
LINKEDLIST
60
DICTIONARY
61
ENUMERATION
62
MINI QUIZ: ENUMERATION
63
TERNARY OPERATOR
64
DATETIME
65
ACTIVITY: DATETIME
66
THIS (REFERENCE)
67
METHODS: EXTENSION
68
ACTIVITY: METHODS - EXTENSION
69
TUPLES
70
MINI QUIZ: TUPLES
71
STRINGBUILDER
72
MINI QUIZ: STRINGBUILDER
73
TRY-CATCH
74
MINI QUIZ: TRY-CATCH
75
UNIT TESTING
76
UNIT TESTING: FACT & THEORY
77
DIRECTIVES
78
WRITING/READING TEXT FILES
79
INTERFACES
80
MINI QUIZ: INTERFACES
81
YIELD
82
DELEGATES
83
MINI QUIZ: DELEGATES
84
EVENTS
85
MINI QUIZ: EVENTS
86
LAMBDAS
87
MINI QUIZ: LAMBDAS
88
THREADS
89
ACTIVITY: THREADS
90
ASYNCHRONOUS
91
MINI QUIZ: ASYNCHRONOUS
92
QUERY EXPRESSIONS: LINQ – QUERY SYNTAX
93
QUERY EXPRESSIONS: LINQ – METHOD CALL SYNTAX
94
WALKTHROUGH: DATABASE
95
DATABASE
96
FINAL THOUGHT
97