C# 6 Development

Contact Us for Dates
5 days practical workshop for up to 12 people.
Only £1975
C# 6 is new in Visual Studio 2015, and is the latest evolution of Microsoft's primary programming language. This course covers the latest language features in C# 6 and the .NET 2015 platform. You'll get a deep and broad understanding of C# as a programming language, and gain confidence to explore the richness of the .NET Framework library including asynchronous programming, LINQ, and EF.

Layout

This course is a mixture of lectures and hands on exercises designed to reinforce the topics learnt

Training Course Objectives

  • Essential C# syntax
  • Implementing object-oriented designs in C#
  • Using generics, collection classes, and exceptions
  • What's new in C# 6 and .NET 2015
  • Using LINQ and EF
  • Introduction to asynchronous programming
  • Overview of MVC6

Training Course Prerequisites

  • At least 6 months programming experience
  • Familiarity with OO concepts would be an advantage

Chapters

Chapter 1 Introduction to C# and .NET

  • .NET Framework building blocks
  • Hello world in C#
  • Using Visual Studio 2015
  • Namespaces and assemblies

Chapter 2 Core C# Programming Constructs

  • Variables, operators, and statements
  • Reference types vs. value types
  • Conversions
  • Nullable types
  • Using the Console and String classes
  • Flow-of-control
  • Using implicit types

Chapter 3 More C# Programming Constructs

  • Defining methods
  • Input, output, and optional parameters
  • Method overloading
  • Arrays
  • Structures

Chapter 4 Defining and Using Classes

  • Defining classes
  • Defining constructors and finalizers
  • Defining properties
  • Creating and disposing objects
  • Defining constants and read-only fields
  • Static members
  • Partial classes/methods

Chapter 5 Inheritance and Polymorphism

  • Defining base classes and derived classes
  • Overriding methods
  • Abstract classes
  • Interfaces

Chapter 6 Exception Handling

  • Defining Try/Catch/Finally blocks
  • Throwing exceptions
  • Defining new exception classes
  • Defining Using blocks

Chapter 7 Creating Collections of Objects

  • Overview of generics
  • Using List collections
  • Using Dictionary collections

Chapter 8 What's New in C# 6

  • Static using syntax
  • Auto-property initializers
  • Dictionary initializers
  • Exception filters
  • String interpolation

Chapter 9 Delegates, Events, and Lambdas

  • Overview
  • Defining simple delegates
  • Defining and handling events
  • Using lambda expressions

Chapter 10 Additional Language Features

  • Operator overloading
  • Extension methods
  • Object initializers
  • Anonymous types

Chapter 11 Introduction to LINQ

  • The role of LINQ
  • Simple LINQ query expressions
  • Using LINQ with collections
  • LINQ query operators

Chapter 12 Using the Entity Framework

  • EF classes and DbContext
  • Implementing relationships
  • Managing data
  • Additional techniques

Chapter 13 Introduction to Asynchronous Programming

  • Understanding the async and await keywords
  • Implementing asynchronous code

Chapter 14 Overview of MVC6

  • Creating an ASP.NET MVC application
  • Defining models, views, and controllers
  • Introduction to REST and Web API