Programming in C#

Kurskod A330

Programming in C#

Under den här kursen lär du dig hur du skapar applikationer med Visual Studio och C#. Under fyra dagar lär du dig programstruktur, syntax, koncept i C# samt grunderna i objektorientering och hur du använder arv och klasser.

Pris
32950 kr (exklusive moms)
Längd
4 dagar
Ort och startdatum
9 dec
Stockholm, Live Online
3 feb
Live Online
14 apr
Stockholm, Live Online
23 jun
Live Online

Boka utbildning

Kursen fokuserar på programmeringsspråket C# i sig, för att fullt ut förbereda för användning av .NET Framework/Core. Ingen förkunskap om objektorienterad programmering förutsätts. Du lär dig att skriva C#-kod som är robust och lätt att underhålla, från grundläggande syntax till sofistikerade objektorienterade programmeringstekniker.

Kursen består av en blandning av föreläsningar, demonstrationer och praktiska övningar.


Målgrupp och förkunskaper

Den här kursen riktar sig till utvecklare som ska börja eller nyligen har börjat arbeta med .NET och språket C#.

Du behöver grundläggande kunskaper i programmering. Till detta rekommenderar vi vår kurs Introduction to Programming.

För att alltid hålla en hög kvalitet på våra teknikkurser använder vi både engelsk- och svensktalande experter som kursledare.

Detaljerad information


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
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
Conditionals
  • If statements
  • Switch statements and switch expressions
  • Ternary conditional operator
  • Null-coalescing and null-conditional operators
Loops and Collections
  • Arrays
  • Foreach loops
  • For loops
  • While loops
  • Do loops
  • Generic collections: List and Dictionary
  • Collection operators
Object Oriented Programming (OOP)
  • Why object orientation?
  • OOP concepts and unified modelling language (UML)
  • Classes and instantiation
  • Association and aggregation
  • Inheritance and interfaces
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
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
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
Interfaces
  • Creating and implementing interfaces
  • Polymorphism
  • Interfaces with default implementation
  • Interface inheritance
  • implementing interfaces explicitly
Delegates and Lambdas
  • Delegates: Func and Action
  • Lambda expressions
  • The Predicate delegate
Language Integrated Query (LINQ)
  • LINQ syntax
  • Projections
  • Deferred execution and immediate execution
  • Joins and aggregations
  • The let clause
  • The OfType method
Exception Handling
  • Exception handling keywords: try, catch, finally, throw
  • Understanding execution flow
  • Throwing exceptions
  • Custom exceptions
  • Filtered exceptions
  • Inner exceptions

Få inspiration & nyheter från oss

Jag godkänner att Cornerstone skickar mig nyheter via e-post