Goals
- Know how to develop in C#
- Create basic management interfaces and manipulate objects of the .NET platform
Program
Presentation of .NET
The languages of the .NET framework
Particularities of C #
Evolutions of C #, platforms supported
Development environment
Types of projects: console, library, WinForms, WPF, WCF, …
Minimum structure of a C # program
Compilation, execution and debugging
Workshop: Manipulating the development environment – examples of C # programs
Variables: declaration, common types (Common Type System)
Organization in memory (primitive types / reference types)
Operators
Type conversion: implicit / explicit cast
Conditional
instructions Iteration instructions, loops
Workshop: Multiple examples of applications
Operating principle
Creation of arbitrary
arrays Multidimensional arrays and traversal
Workshop: Declaration and manipulation of tables
Introduction to procedural: definition, interest
Types and returns of functions
Passing of parameters:
– by value
– by reference: (ref, out)
– variable arguments (params)
Method overload
Recursion: definition, implementation
Workshop: Breakdown of the application
Exception mechanism, types
Catch and handle an exception (try / catch / finally)
Throwing exceptions (throw)
Workshop: Management of data entry errors, escalation of exceptions
Notions on classes
Character strings, dates, …
Various lists and collections, algorithms
Access to files and streams
Workshop: Manipulation of collections and flows
Understanding Windows Forms (WinForms) Understanding
WPF Building
Windows and Communicating
Using Controls
Binding Controls with Data
Using User Controls
Using Tasks
Workshop: a directory application
Presentation of the object for the ideal structuring of the code and notions of UML
Attributes and methods
Constructors, life cycle, general memory management
The aggregation of objects
Creation of properties, visibility, encapsulation
Inheritance in the application
Workshop: Implementation of several business classes
Use of namespaces and creation
Abstract classes and interfaces
Polymorphism: interest, use
Event mechanisms
Examples of modeling for complex applications
Workshop: Organization of an application based on complex objects – advanced use of graphic controls
ADO.NET: access to any database
Communication with .NET: the web and other protocols
Presentation of additional useful elements available and C # evolutions
Creation and use of
Multithreading and synchronization processes
Workshop: Complete Case Study – A Business Agenda in C #
Passing of the certification (if foreseen in the financing).
Duration
5 days
Price
£ 2475
Audience
All
Prerequisites
Common use of a programming language
Reference
.NE144-F
Sessions
Contact us for more informations about session date