Overview

Microsoft's .NET Framework presents developers with unprecedented opportunities. From web applications to desktop and mobile platform applications - all can be built with equal ease, using substantially the same skill-set. But to make the most of this potential, developers must have a thorough grasp of language skills and object oriented programming concepts (OOP).

This course concentrates on the C# programming language itself, to fully prepare delegates in readiness for using the .NET Framework/Core. No Object-Orientated knowledge is assumed. From basic procedural syntax to sophisticated object-oriented programming techniques, delegates will learn how to write .NET code that is robust and maintainable.

The course is presented as a mixture of lectures, demos and hands-on exercises. Practical sessions follow all main topics, designed to reinforce the points covered.

This intensive course is intended for developers who will use C# to write .NET Framework or .NET Core applications and who are relatively new to the C# programming language.

Read more +

Prerequisites

Delegates must understand the fundamentals of programming. Delegates can gain this level of knowledge by attending QA's 'Programming Foundations' (QAPROGFOU) course

Please note:

  • Delegates attending this course via Extended Classroom will be required to provide dual monitors.
  • Before attending this course, delegates must have a Microsoft account (signing up one is free). The instructions on how to set up a Microsoft account can be found here.

Read more +

Learning Outcomes

  • Write code that includes sequence, selection and iteration constructs
  • Create and use classes and structures (types), including fields, properties, methods and delegates
  • Use private, internal, protected and public visibility modifiers
  • Use exception handling to create robust applications
  • Create derived classes that inherit from custom-written or .NET classes
  • Create interfaces and apply techniques of polymorphism effectively and appropriately
  • Work with generic types
  • Leverage the power of C# features
  • Use delegates
  • Use lambda expressions in C# code
  • Use LINQ (Language Integrated Query)

In addition to the above, the following practice is introduced during the course:

  • Test-Driven Development using XUnit
Read more +

Course Outline

Module 1: Course Introduction

Module 2: Introduction to C#

  • The .NET Framework; Compilation; The Common Language Runtime; The Common Type System
  • What is C#?
  • Top-level statements
  • Namespaces and using directives
  • Get to know your way around Visual Studio
  • An introduction to debugging
  • Start using Unit Test

Module 3: Variables and Datatypes

  • Comments and identifiers
  • Variables and built-in datatypes
  • Value types versus reference types
  • Built-in value types: integral, floating point, bool, char, structs and enums
  • Reference types: object, strings, object instantiation
  • Variable scope and access modifiers
  • Operators
  • Parsing and casting

Module 4: Conditionals

  • If statements
  • Switch statements and switch expressions
  • Ternary conditional operator
  • Null-coalescing and null-conditional operators

Module 5: Loops and Collections

  • Arrays
  • Foreach loops
  • For loops
  • While loops
  • Do loops
  • Generic collections: List and Dictionary
  • Collection operators

Module 6: Object Oriented Programming (OOP)

  • Why object orientation?
  • OOP concepts and unified modelling language (UML)
  • Classes and instantiation
  • Association and aggregation
  • Inheritance and interfaces

Module 7: Methods

  • Methods and positional and named parameters
  • Method overloading
  • Return values
  • Expression-bodied methods
  • Passing parameters: by value and by reference
  • Static methods and the using static directive
  • Extension methods

Module 8: Properties and Constructors

  • Fields
  • Properties with backing fields
  • Expression-bodied properties
  • Auto-implemented properties and calculated properties
  • How to access properties
  • Constructing objects: constructors and expression-bodied constructors
  • Constructor overloading and chaining
  • Object initializers
  • Static constructors
  • The ‘this’ keyword

Module 9: Inheritance and Abstract Classes

  • Inheritance
  • Derived constructors
  • Polymorphism
  • Virtual members and overriding
  • Invoking base class functionality
  • Abstract classes
  • Upcasting and safe down-casting
  • Overriding System.Object
  • Sealed classes and members

Module 10: Interfaces

  • Creating and implementing interfaces
  • Polymorphism
  • Interfaces with default implementation
  • Interface inheritance
  • implementing interfaces explicitly

Module 11: Delegates and Lambdas

  • Delegates: Func and Action
  • Lambda expressions
  • The Predicate delegate

Module 12: Language Integrated Query (LINQ)

  • LINQ syntax
  • Projections
  • Deferred execution and immediate execution
  • Joins and aggregations
  • The let clause
  • The OfType method

Module 13: Exception Handling

  • Exception handling keywords: try, catch, finally, throw
  • Understanding execution flow
  • Throwing exceptions
  • Custom exceptions
  • Filtered exceptions
  • Inner exceptions

Read more +

Why choose QA

Special Notices

Please note, Effective 30th of June 2022, this course will be on .NET 5 & 6, C# 9 and Visual Studio 2022.

Dates & Locations

Software learning paths

Want to boost your career in software engineering? Click on the roles below to see QA's learning pathways, specially designed to give you the skills to succeed.

= Required
= Certification
Front End Developer
Back End Developer Java
Back End Developer .NET
Cloud Developer AWS
Cloud Developer Azure
Application Security
Secure Coding
Need to know

Frequently asked questions

How can I create an account on myQA.com?

There are a number of ways to create an account. If you are a self-funder, simply select the "Create account" option on the login page.

If you have been booked onto a course by your company, you will receive a confirmation email. From this email, select "Sign into myQA" and you will be taken to the "Create account" page. Complete all of the details and select "Create account".

If you have the booking number you can also go here and select the "I have a booking number" option. Enter the booking reference and your surname. If the details match, you will be taken to the "Create account" page from where you can enter your details and confirm your account.

Find more answers to frequently asked questions in our FAQs: Bookings & Cancellations page.

How do QA’s virtual classroom courses work?

Our virtual classroom courses allow you to access award-winning classroom training, without leaving your home or office. Our learning professionals are specially trained on how to interact with remote attendees and our remote labs ensure all participants can take part in hands-on exercises wherever they are.

We use the WebEx video conferencing platform by Cisco. Before you book, check that you meet the WebEx system requirements and run a test meeting (more details in the link below) to ensure the software is compatible with your firewall settings. If it doesn’t work, try adjusting your settings or contact your IT department about permitting the website.

How do QA’s online courses work?

QA online courses, also commonly known as distance learning courses or elearning courses, take the form of interactive software designed for individual learning, but you will also have access to full support from our subject-matter experts for the duration of your course. When you book a QA online learning course you will receive immediate access to it through our e-learning platform and you can start to learn straight away, from any compatible device. Access to the online learning platform is valid for one year from the booking date.

All courses are built around case studies and presented in an engaging format, which includes storytelling elements, video, audio and humour. Every case study is supported by sample documents and a collection of Knowledge Nuggets that provide more in-depth detail on the wider processes.

When will I receive my joining instructions?

Joining instructions for QA courses are sent two weeks prior to the course start date, or immediately if the booking is confirmed within this timeframe. For course bookings made via QA but delivered by a third-party supplier, joining instructions are sent to attendees prior to the training course, but timescales vary depending on each supplier’s terms. Read more FAQs.

When will I receive my certificate?

Certificates of Achievement are issued at the end the course, either as a hard copy or via email. Read more here.

Let's talk

A member of the team will contact you within 4 working hours after submitting the form.

By submitting this form, you agree to QA processing your data in accordance with our Privacy Policy and Terms & Conditions. You can unsubscribe at any time by clicking the link in our emails or contacting us directly.