Over

155,000

Africa & Middle East

7Days
10.00 A.M - 10.00 P.M

Call us

20483 Programming in C#

Course Objectives

Describe the core syntax and features of C#.
Create and call methods, catch and handle exceptions, and describe the monitoring requirements of large-scale applications.
Implement the basic structure and essential elements of a typical desktop application.
Create classes, define and implement interfaces, and create and use generic collections.
Use inheritance to create a class hierarchy, extend a .NET Framework class, and create generic classes and methods.
Read and write data by using file input/output and streams, and serialize and deserialize data in different formats.
Create and use an entity data model for accessing a database and use LINQ to query and update data.
Use the types in the System.Net namespace and WCF Data Services to access and query remote data.
Build a graphical user interface by using XAML.
Improve the throughput and response time of applications by using tasks and asynchronous operations.
Integrate unmanaged libraries and dynamic components into a C# application.
Examine the metadata of types by using reflection, create and use custom attributes, generate code at runtime, and manage assembly versions.
Encrypt and decrypt data by using symmetric and asymmetric encryption.

Course Outline

Module 1: Review of C# Syntax

a. Overview of Writing Applications using C#

b. Datatypes, Operators, and Expressions

c. C# Programming Language Constructs

d. Lab : Developing the Class Enrolment Application

Module 2: Creating Methods, Handling Exceptions, and Monitoring Applications

a. Creating and Invoking Methods

b. Creating Overloaded Methods and Using Optional and Output Parameters

c. Handling Exceptions

d. Monitoring Applications

e. Lab : Extending the Class Enrolment Application Functionality

Module 3: Developing the Code for a Graphical Application

a. Organizing Data into Collections

b. Handling Events

c. Lab : Writing the Code for the Grades Prototype Application

Module 4: Creating Classes and Implementing Type-safe Collections

a. Creating Classes

b. Defining and Implementing Interfaces

c. Implementing Type-safe Collections

d. Lab : Adding Data Validation and Type-safety to the Grades Application

Module 5: Creating a Class Hierarchy by Using Inheritance

a. Creating Class Hierarchies

b. Extending .NET Framework Classes

c. Creating Generic Types

d. Lab : Refactoring Common Functionality into the User Class

Module 6: Reading and Writing Local Data

a. Reading and Writing Files

b. Serializing and Deserializing Data

c. Performing I/O Using Streams

d. Lab : Generating the Grades Report

Module 7: Accessing a Database

a. Creating and Using Entity Data Models

b. Querying Data by Using LINQ

c. Updating Data by Using LINQ

d. Lab : Retrieving and Modifying Grade Data

Module 8: Accessing Remote Data

a. Accessing Data Across the Web

b. Accessing Data in the Cloud

c. Lab : Retrieving and Modifying Grade Data in the Cloud

Module 9: Designing the User Interface for a Graphical Application

a. Using XAML to Design a User Interface

b. Binding Controls to Data

c. Styling a User Interface

d. Lab : Customizing Student Photographs and Styling the Application

Module 10: Improving Application Performance and Responsiveness

a. Implementing Multitasking by using Tasks and Lambda Expressions

b. Performing Operations Asynchronously

c. Synchronizing Concurrent Access to Data

d. Lab : Improving the Responsiveness and Performance of the Application

Module 11: Integrating with Unmanaged Code

a. Creating and Using Dynamic Objects

b. Managing the Lifetime of Objects and Controlling Unmanaged Resources

c. Lab : Upgrading the Grades Report

Module 12: Creating Reusable Types and Assemblies

a. Examining Object Metadata

b. Creating and Using Custom Attributes

c. Generating Managed Code

d. Versioning, Signing and Deploying Assemblies

e. Lab : Specifying the Data to Include in the Grades Report

Module 13: Encrypting and Decrypting Data

a. Implementing Symmetric Encryption

b. Implementing Asymmetric Encryption

c. Lab : Encrypting and Decrypting Grades Reports

APPLY TO COURSE