Filter

Advanced C#

This course will help you become a more efficient C# developer. We will look at generics, LINQ (Language Integrated Query) and lambda expressions. We use enumerations, nullable types, initializers and extension methods to write clean and maintainable code. This course is for developers with a working knowledge of the object oriented features at the core of the C# language, and will take you to the next level. We work with the latest version of C# and also get a glimpse of .NET Core.

  • .NET
  • C#

Target audience

Developers with a couple of years' experience in .NET, who want to delve deeper into the language.

Prerequisites

You should have taken Beginning C#, or have corresponding knowledge already.

Day 1

C# Recap

  • Structs, classes and interfaces
  • Methods, properties and fields
  • Inheritance vs. interface implementation
  • Generic collections

Implementing generic types

  • Taking and passing type parameters
  • Using type parameters
  • Generic types consuming generic types
  • Constraints

Introduction to Linq

  • What Linq is
  • Writing simple queries
  • Anonymous types
  • Sorting
  • Understanding on-demand execution

Day 2

Data structures

  • Nullable types
  • Enums
  • Array and collection initializers
  • Iterators and the yield keyword
  • Checked/unchecked

Overloading and extending

  • Overloading methods
  • Operator overloading
  • Extension methods

Lambda expressions and delegate types

  • Func, Action and Lambdas
  • Taking lambdas as method arguments
  • Creating your own delegate types

Day 3

Creating richer types

  • Nested classes
  • The partial keyword
  • The IDispose interface and the using keyword

Richer Linq

  • Take, Skip, Distinct and Single
  • Min, max, sum and average
  • Let
  • The Linq method syntax
  • Linq to SQL
  • Linq to XML

Threads and Tasks

  • Threads
  • The .NET thread pool
  • Tasks

Serialization

  • XML

Course info

Course code: T220
Duration: 3 days
Price: 25 900 SEK
Language: English

Course schedule

Malmö
29 MayBook now
25 SepBook now
11 DecBook now
Stockholm
20 MayBook now
28 AugBook now
27 NovBook now
Gothenburg
20 MayBook now
18 NovBook now

Teachers

Share

Contact us for details

+46 40 61 70 720
info@edument.se


All prices excluding VAT