Skip to content

tertiarycourses/CSharpTraining

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

C# Programming Essential Training

These are the exercise files used for C# Programming Essential Training course.

The course outline can be found in

C# Programming Essential Training

Module 1 What is C#

  • The History of C#
  • .NET Standard and C#
  • Memory management and garbage collection

Module 2: Getting Started

  • Creating a console application
  • Creating a rich desktop application
  • Installing Visual Studio
  • Creating a simple web application

Module 3 Language Fundamentals

  • Everything is an object
  • Understanding c# syntax
  • Identifier naming guidelines
  • Using the documentation

Module 4 Declaring Variables

  • Data types
  • Declaring/ Assigning variables
  • Working with characters
  • Working with strings
  • Building strings with StringBuilder
  • Parsing strings as numbers
  • Using mathematical operators
  • Working with Boolean values and expressions
  • Using constants and enumerations
  • Working with dates and times

Module 5 Managing Application Flow

  • Getting input in a console application
  • Condition (if - else)
  • Condition (switch)
  • Conditional loop (for)
  • Conditional loop (foreach - in)
  • Conditional loop (while - do)
  • Creating reusable code with methods
  • Managing variables visibility and scope
  • Managing flow with break and continue

Module 6: Exception Handling

  • Understanding runtime exceptions
  • Debugging exceptions in your code
  • Handling exceptions with try/catch
  • Using multiple catch statements
  • Cleaning with finally

Module 7 Managing Collections of Data

  • Using simple arrays
  • Multidimensional arrays
  • Managing ordered data with lists
  • Managing unordered data with dictionaries

Module 8 Creating Custom Classes

  • Defining a class with static methods
  • Representing data with custom class objects
  • Declaring privates fields and public properties
  • Declaring properties with shorthand get and set methods
  • Overriding the ToString() method
  • Adding multiple constructor methods
  • Organizing classes with namespaces

Module 9 Working with Inheritance and Polymorphism

  • Extending a class to create new class
  • Overriding and calling base class methods
  • Creating methods that accept subclassed objects

Module 10 Visual Programming and Event Handling

  • Setting visual component property values
  • Handling visual component events

Releases

No releases published

Packages

No packages published

Languages