C#.NET for Desktop applications

Inhoud

.NET Framework introduction

Managed/unmanaged code

IL (Intermediate Language)

Metadata

CLR (Common Language Runtime)

Memory management

Garbage Collection

Framework class library

C#

Basics

Types

Variables

Arrays

Constants

Enumerations

Expressions

Classes

Structs

(Automatic) Properties

Access modifiers (private, internal, protected, internal protected, public)

Namespaces

Interfaces

 

Control structures

if, else

switch

for/foreach

do and while

 

C# and Object Orientation

Class

Object, Instance

Method

Inheritance

Abstraction

Encapsulation

Polymorphism

 

Collection classes

List

Dictionary

Delegates and Events

Handling Exceptions

Generics

Lambda Expressions

Coding standard

Windows Forms

Form properties

Controls

Label

Button

TextBox

RadioButton

ComboBox

RadioButton

Layout your controls using

Anchor/Dock properties

Containers

Panel

TableLayoutPanel

GroupBox

Splitcontainer

Tab order

Menus

Events and Event Handlers

Keep the GUI responsive during long running tasks using the BackgroundWorker

User (composite) controls

Custom controls

WPF

 

Deployment

Create an installer for your project