Microsoft C# Introduction: Working With Namespaces and Graphics


Overview/Description
This course, Microsoft C# Introduction: Working with Namespaces and Graphics, presents fundamental techniques and concepts of programming in C#, including using statements and namespaces, creating classes, structs, and class Members, and constructing and accessing arrays.

Target Audience
You should have a basic understanding of the essential components of Microsoft C#, including writing and compiling C# code.

Expected Duration
This course, including the practice exercises, will take up to 4 hours to complete.

Objectives:

Using Statements and Namespaces

  • Define and recognize statements and statement blocks
  • Create Declaration statements for variables
  • Define and recognize Expression statements
  • Recognize and use Selection statements
  • Recognize Iteration statements
  • Recognize and use Jump statements
  • Recognize and use Labeled statements
  • Recognize and use Try statements
  • Recognize Checked and Unchecked statements
  • Define namespaces
  • Nest namespaces within C# programs
  • Qualify namespaces with the using directive
  • Call namespaces and namespace members with an alias
  • Creating Classes, Structs, and Class Members

  • Define classes and structs
  • Declare classes
  • Apply class modifiers
  • Build constructors in classes
  • Recognize class inheritance
  • Create and modify class fields
  • Identify static and instance fields
  • Build structs
  • Create methods in classes
  • Create parameter lists within methods
  • Override virtual and abstract methods with the override modifier
  • Recognize external methods
  • Construct properties
  • Construct indexers
  • Recognize destructors
  • Creating Arrays

  • Identify arrays and their purpose
  • Declare a simple array
  • Initialize the values in an array
  • Construct single-dimensional arrays
  • Construct multidimensional, rectangular arrays
  • Construct multidimensional, jagged arrays
  • Access the elements of arrays

  • Course Number: MDEV0202