- Module 1: Get started by writing tiny code examples to learn the basics of the C# syntax!
- Write your first lines of C# code
- Use two different techniques to print a message to a text console
- Diagnose errors when you type code incorrectly
- Identify different C# syntax elements like operators, classes, and methods
- Module 2: Use data in your applications by creating literal values and variable values of different data types.
- Create literal values for five basic data types
- Declare and initialize variables
- Retrieve and set values in variables
- Allow the compiler to determine the data type for your variable when initializing
- Module 3: Combine literal and variable text data that are filled with special characters, formatting, and Unicode into meaningful messages for the end user.
- Create string data containing tabs, new lines, and other special characters
- Create string data containing Unicode characters
- Combine string data into a new string value via concatenation
- Combine string data into a new string value via interpolation
- Module 4: Learn the operators and techniques used to perform basic math operations on numeric data.
- Perform mathematical operations on numeric values
- Observe implicit type conversion between strings and numeric values
- Temporarily convert one data type into another
- Module 5: Use functionality in the .NET Class Library by calling methods that return values, accept input parameters, and more.
- Write code that calls stateless methods in the .NET Class Library
- Create a new instance of .NET Class Library classes to call methods that maintain state
- Use Intellisense to learn more about a method, its overloaded versions, its return value data type, and its input parameter data types
- Use docs.microsoft.com to research what a method does, its overloaded versions, its return value type, its input parameters and what each parameter represents, and more
- Module 6: Learn to branch your code's execution path by evaluating boolean expressions.
- write code that evaluates conditions using the if-elseif-else statements
- build boolean expressions to evaluate a condition
- combine boolean expressions using logical operators
- nest code blocks within other code blocks
- Module 7: Work with sequences of related data in data structures known as arrays. Then, learn to iterate through each item in the sequence.
- Create and initialize a new array
- Set and get values in arrays
- Iterate through each element of an array using the foreach statement
- Module 8: Write code that is easier to read, update and support using naming conventions, comments and whitespace.
- Choose a descriptive name for variables that describe their purpose and intent.
- Use code comments to temporarily instruct the compiler to ignore lines of code.
- Use code comments to describe higher-level requirements or purpose for a passage of code.
- Write code that effectively uses whitespace to convey the relationship of lines of code.
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will:
In this module, you will: