C# 101

This series is a good review for those who may be coming from another programming language. It covers many of the syntactical elements of C# and concludes with a look at Object Oriented concepts and techniques using C#.

This ship has sailed …

This webpage describes a single series/course, each course containing many screencast videos. HOWEVER …

This series/course has been removed from our collection, probably because we have updated it with a newer version.

Read why I decided to keep old pages like this around. Or better yet, visit the home page … its the best place to get started.

Videos in this series:

  1. C# Hello World and Creating Console Applications

    I’ll create a simple Hello World program that outputs text to the command window as a starting point for understanding what makes up a C# application. I also show the steps for creating Console applications, which allow us to feature a particle element of C# without worrying about the user interface.

  2. C# If Statement

    The If statement is a staple in virtually all programming languages because it allows us to conditionally branch our programming logic by evaluating conditions. We look into the If statement, the Else statement, and how to accomodate multiple lines of code using a curly bracket.

  3. C# Switch Statement

    The switch statement is similar to the Case Select statement in Visual Basic. It allows you to easily evaluate a single variable against multiple possible values. Also explains the use of Break and GoTo statements.

  4. C# For Loop

    Many times you will need to itterate through a series of values to perform a task a specified number of times. The For Loop is one method of accomplishing this. Additionally, this video shows the use of the Visual Studio.NET debugger to better understand how the for loop works behind the scenes.

  5. C# While Loop

    The While Loop is similar to the For loop, but with a major difference: it allows you to still access the variable that is used to evaluate the current itteration. This video highlights this difference and demonstrates is use.

  6. C# Do Loop

    The Do Loop is much like the While loop with one major difference: The code within its structure is executed at least once. This distinction is highlighted in the video.

  7. C# Foreach Loop

    The Foreach Loop allows you to itterate through arrays and collections of items. This video shows how to declare and initialize an array and itterate through its values.

  8. C# Classes

    This video explains the basic concepts of classes, including public and private, fields, properties and methods (accessors and modifiers), and constructors.

  9. C# Variables, Variable Scope and Modifier

    While we’ve glossed over the topic of variables thus far, understanding a little more about how they work, and in particular their scope and how to adjust their visibility with accessibility modifiers is important as you create C# applications. This video delves into many aspects variable usage.

  10. C# Constants

    Constants allow you to replace “magic numbers” that appear in your code, but have little if no context, to sensible designations that make your code more readable and maintainable.

  11. C# Structs

    Structs are light weight data structures that allow you to group together related data without having to define a class. The benefits of using structs are explained in this video, as well as a lengthy explanation about the effects of structs being passed by value.

  12. C# Enumerations

    Enumerations (enums) are used to make your code readable and to limit the possible values of a variable.

  13. C# Type Conversions

    Type conversion can be a challenging topic because, if not used appropriately, can result in unexpected results in your applications. This video seeks to clarify some of the obscurity in regards to type conversion.

  14. C# Checked and Unchecked Statements

    Checked allows you to force C# to raise an exception whenever stack overflow (or underflow) occurs due to type conversion issues. Unchecked will allow you to ignore these exceptions when the C# project is set to raise these types of exceptions. This video explains both of these concepts thoroughly.

  15. Structured Exception Handling

    Explains and demonstrates Exception Handling in .NET using the Try/Catch/Finally statements.

  16. Coding Exception Handling into your App

    Continues to explain how to find exception objects for use within your application.

  17. Defining and Using Arrays in C#

    Demonstrates the creation and initialization of different types arrays, including multi-dimensional arrays and jagged arrays.

  18. Basics of Overloading and Inheritance with C#

    This video highlights two basic tenets of Object Oriented programming. I’ll demonstrate how to overload a method (in this case, a constructor), and also the technique needed to convert the class from our previous video into an assembly. The we’ll create a reference to the new assembly, and derive from the base class (Point). Finally, I’ll demonstrate how to derive constructors, and overload the methods of the base class. Trust me … it will make more sense after you watch :)

  19. Operator Overloading

    Demonstrates how to implement your own overloaded operators (such as the + operator) for custom classes.

  20. C# Delegate Basics

    Delegates are object oriented function pointers allowing you to handle callbacks and events.


10 Year Anniversary Sale - 30% Off - ENDING SOON!!!    Learn more ...