Customer Service or Enrol: 0800 282 353 or +44 1372 364610
 

C# Programming: Hands-On

Course: 419   Type: Hands-On   Duration: 4 Days
Quick Enrol  

You Will Learn How To

  • Create, compile and run C# programs using Visual Studio 2008
  • Write and understand C# language constructs, syntax and semantics
  • Leverage the namespaces and classes of the .NET Framework
  • Develop reusable .NET components using interface realisation
  • Access databases using ADO.NET and Language Integrated Query (LINQ)
  • Produce programs in C# for desktop and distributed multitier applications

Course Benefits
C# is a modern, object-oriented programming language intended to create simple yet robust programs. Designed specifically to take advantage of CLI features, C# is the core language of the Microsoft .NET framework. In this course, you gain the skills to exploit the capabilities of C# and of the .NET Framework to develop programs useful for a broad range of desktop and Web applications.

Who Should Attend
Anyone interested in programming in C#. Experience with a modern language such as VB, Java, Pascal or C/C++ is assumed. Those with only COBOL, RPG, SQL, HTML or similar experience should consider taking Course 502, "Programming with .NET Introduction".

Hands-on Training
You gain experience creating your own C# application. Hands-on exercises include:
  • Writing and compiling C# programs using Visual Studio 2008
  • Building C# classes and inheritance hierarchies
  • Writing desktop and Web applications with Windows Forms and Web Forms
  • Constructing and deploying custom .NET components
  • Implementing business logic in distributed Web services
  • Accelerating development with the .NET Framework library

Course Content
Introduction to the C# Language
The evolution of C#
  • Comparing different versions of C#
  • Expressing C# models in UML
C# and the .NET infrastructure
  • Common Language Infrastructure (CLI)
  • Managed code philosophy
  • Intermediate Language (IL) and metadata
Language Fundamentals
Data types and control constructs
  • Declaring implicit and explicit variables
  • Value and reference types
  • Unicode characters & strings
Defining and calling methods
  • The Main method specification
  • Passing arguments and returning values
  • The scope and lifetime of variables
  • Static vs. instance methods
  • Handling exceptions
  • Recovering resources
Employing .NET library classes
  • Avoiding collisions by using namespaces
  • Performing I/O using the Console class and stream classes
  • Standard and Generic Collections
Developing C# Classes
Defining classes
  • Encapsulating attributes
  • Writing properties with get and set
  • Providing consistent initialisation using constructors
  • Overloading methods and constructors
  • Achieving reuse through inheritance and polymorphism
Creating and using objects
  • Allocating objects with new
  • Passing initial values to constructors
  • Choosing value or reference allocation
  • Boxing & unboxing
  • Invoking methods and accessing properties
Interconnecting Objects
Associating classes
  • Manipulating references
  • Physical vs. logical equivalence
  • Selecting collection library classes
  • Increasing reliability using generics
Exposing interfaces
  • Defining an interface specification
  • Implementing an interface in a class
  • Interface polymorphism
  • Indexers, events and delegates
  • Overloading operators
Simplifying Component Development
Component features of .NET
  • Manifests and assemblies
  • Deploying private and shared components
  • Introspecting at runtime using reflection
  • .NET assembly meta-model
Writing .NET components in C#
  • Creating and calling custom components
  • Extending System.ComponentModel.Component
  • Producing .NET components: a set of guidelines and standards
Interfacing to ActiveX components
  • Accessing COM/DCOM
  • Tools for forwards and backward compatibility
  • Wrapping legacy components
Integrating VB, C++ and C#
  • Harmonising components through the CLI
  • Accessing metadata
  • Handling cross-language exceptions
Implementing and Enhancing C# Solutions
Building multitier applications
  • Generating user interfaces
  • File I/O and serialisation
  • Accessing databases with ADO.NET and LINQ
  • Integrating C# extended features with LINQ
  • Distributing using Web services
Standards and versions
  • Standardisation via ECMA/ISO
  • Features in various C# standards
Advanced techniques
  • Automating documentation with XML
  • Implementing the IEnumerator and IComparer interfaces
  • Invoking lambda expressions
  • Specifying development attributes
  • Accessing program structure with runtime reflection

Related Courses
 

request more info Salutation*:

First Name*:

Last Name*:

Job Title:

Company*:

Post Code*:

Country*:
   Codes
Office Telephone*:

Extension:

E-mail*:

* Required

A Learning Tree representative will contact you to follow up your request for information.

Save 55%
C# Programming
20 - 23 May, 2008
London
24 - 27 Jun, 2008
London
29 Jul - 1 Aug, 2008
Edinburgh
29 Jul - 1 Aug, 2008
London
26 - 29 Aug, 2008
London
23 - 26 Sep, 2008
London
28 - 31 Oct, 2008
London
25 - 28 Nov, 2008
London
9 - 12 Dec, 2008
Edinburgh
6 - 9 Jan, 2009
London

Course participants building multitier applications using C# in Visual Studio 2008.

£ 1,695 - Standard Tuition
Savings Plans
£ 1,080 - 10-Day Training Pass
£ 995 - Flex-Training Passport
£ 1,215 - 10-Training Vouchers
£ 1,300 - 5-Training Vouchers
£ 1,525 - Alumni Gold Tuition

 
Certification Core Course
 
dotNet Starburst for product upgrade
 
Customer Service or Enrol: 0800 282 353 or +44 1372 364610