Programming in C

Duration: 
5 days
Codes: 
10266,C
Versions: 
NULL

Overview

This is a thorough and comprehensive 5 day course providing a practical introduction to programming in C# utilising the services provided by .NET. It is available at Visual Studio 2015 (C# 6.0), but also relevant to previous releases. Delegates working on earlier releases need to advise us at the time of booking so that we can adapt the course content accordingly.

The course introduces object-oriented concepts at an early stage and C# is taught in a way that capitalises on this object orientation. Besides supporting traditional OO features, such as classes, inheritance and polymorphism, C# introduces several additional features such as properties, indexers, delegates, events, and interfaces. These make C# a compelling language for developing object-oriented and component-based systems. This course provides thorough coverage of all these features and important new features such as implicit typing, extension methods, lambda expressions and Language-Integrated Query (LINQ) are looked at.

C# as a language is elegant and powerful. But to utilise its capabilities fully, you need to have a good understanding of how it works with the .NET Framework. The course explores several important interactions between C# and the .NET Framework and it includes an introduction to major classes for collections, delegates, and events. It includes a succinct introduction to creating GUI programs using Windows Forms.

Upon successful completion of this course, students will be able to:

  • Implement programs using C# and classes from the .NET Framework.
  • Implement simple GUI programs using Windows Forms.
  • Work with C# Namespaces, Variables, Operators and Expressions.
  • Understand C# Data Types.
  • Control program execution with control structures.
  • Understand Classes, Inheritance and Polymorphism.
  • Work with Object Properties and Methods.
  • Work with Character and String data.
  • Understand Arrays and Indexers.
  • Format and Convert Data.
  • Handle Exceptions.
  • Understand Interfaces.
  • Understand Collections and Generic Types.
  • Work with Delegates and Events.
  • Create basic Windows Forms.
  • Understand the new features in the latest releases of C#

Audience

This course is intended for experienced developers who already have programming experience in C, C++, JavaScript, Objective-C, Microsoft Visual Basic , or Java and understand the concepts of object-oriented programming.

This course is not designed for students who are new to programming; it is targeted at professional developers with at least one month of experience programming in an object-oriented environment.

Skills Gained

After completing this course, students will be able to:

  • 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.

Prerequisites

Important Course Information Important Course Information Requirements: Requirements:

  • Developers attending this course should already have gained some limited experience using C# to complete basic programming tasks. More specifically, students should have hands-on experience using C# that demonstrates their understanding of the following:
    • How to name, declare, initialize and assign values to variables within an application.
    • How to use:
      • arithmetic operators to perform arithmetic calculations involving one or more variables;
      • relational operators to test the relationship between two variables or expressions;
      • logical operators to combine expressions that contain relational operators.
    • How to create the code syntax for simple programming statements using C# language keywords and recognize syntax errors using the Visual Studio IDE.
    • How to create a simple branching structure using an IF statement.
    • How to create a simple looping structure using a For statement to iterate through a data array.
    • How to use the Visual Studio IDE to locate simple logic errors.
    • How to create a Function that accepts arguments (parameters and returns a value of a specified type.
    • How to design and build a simple user interface using standard controls from the Visual Studio toolbox.
    • How to connect to a SQL Server database and the basics of how to retrieve and store data.
    • How to sort data in a loop.
    • How to recognize the classes and methods used in a program.

Developers attending this course should already have gained some limited experience using C# to complete basic programming tasks. More specifically, students should have hands-on experience using C# that demonstrates their understanding of the following:

  • How to name, declare, initialize and assign values to variables within an application.
  • How to use:
    • arithmetic operators to perform arithmetic calculations involving one or more variables;
    • relational operators to test the relationship between two variables or expressions;
    • logical operators to combine expressions that contain relational operators.
  • How to create the code syntax for simple programming statements using C# language keywords and recognize syntax errors using the Visual Studio IDE.
  • How to create a simple branching structure using an IF statement.
  • How to create a simple looping structure using a For statement to iterate through a data array.
  • How to use the Visual Studio IDE to locate simple logic errors.
  • How to create a Function that accepts arguments (parameters and returns a value of a specified type.
  • How to design and build a simple user interface using standard controls from the Visual Studio toolbox.
  • How to connect to a SQL Server database and the basics of how to retrieve and store data.
  • How to sort data in a loop.
  • How to recognize the classes and methods used in a program.

How to use:

  • arithmetic operators to perform arithmetic calculations involving one or more variables;
  • relational operators to test the relationship between two variables or expressions;
  • logical operators to combine expressions that contain relational operators.

How to recognize the classes and methods used in a program. Exam Information: Exam Information:

  • This course helps you prepare for the Microsoft 70-483 certification exam, Programming in C# .

This course helps you prepare for the Microsoft 70-483 certification exam,

Programming in C#

Microsoft 70-483 certification exam,

Programming in C# . Redeem Your Microsoft Training Vouchers (SATV): Redeem Your Microsoft Training Vouchers (SATV):

  • This course is eligible for Microsoft Software Assurance Training Voucher (SATV) redemption.

Want to learn more about Microsoft SATVs?

Click to view our SATVs infographic.

Course Outline

  • Module 1: Review of C# Syntax

This module reviews the core syntax and features of the C# programming language. It also provides an introduction to the Visual Studio 2012 debugger.

Lessons

  • Overview of Writing Applications using C#
  • Datatypes, Operators, and Expressions
  • C# Programming Language Constructs

Lab : Developing the Class Enrolment Application

After completing this module, students will be able to:

  • Describe the architecture of .NET Framework applications and use the features that Visual Studio 2012 and C# provide to support .NET Framework development.
  • Use the basic data types, operators, and expressions provided by C#.
  • Use standard C# programming constructs.
  • Module 2: Creating Methods, Handling Exceptions, and Monitoring Applications

This module explains how to create and call methods, catch and handle exceptions. This module also describes the monitoring requirements of large-scale applications.

  • Creating and Invoking Methods
  • Creating Overloaded Methods and Using Optional and Output Parameters
  • Handling Exceptions
  • Monitoring Applications

Lab : Extending the Class Enrolment Application Functionality

  • Create and invoke methods, pass parameters to methods, and return values from methods.
  • Create overloaded methods, and use optional parameters and output parameters.
  • Catch and handle exceptions and write information to the event log.
  • Explain the requirement for implementing logging, tracing, and profiling when building large-scale applications.
  • Module 3: Developing the Code for a Graphical Application

This module describes how to implement the basic structure and essential elements of a typical desktop application, including using structures and enumerations, collections, and events.

  • Implementing Structs and Enums
  • Organizing Data into Collections
  • Handling Events

Lab : Writing the Code for the Grades Prototype Application

After completing this module, students will be able to:Define and use structures and enumerations. Create and use simple collections for storing data

  • Define and use structures and enumerations.
  • Create and use simple collections for storing data in-memory.
  • Create, subscribe to, and raise events.
  • Module 4: Creating Classes and Implementing Type-safe Collections

This module explains how to create classes, define and implement interfaces, and create and use generic collections. This module also describes the differences between value types and reference types in C#.

  • Creating Classes
  • Defining and Implementing Interfaces
  • Implementing Type-safe Collections

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

  • Create and use custom classes.
  • Define and implement custom interfaces.
  • Use generics to implement type-safe collections.
  • Module 5: Creating a Class Hierarchy by Using Inheritance

This module explains how to use inheritance to create a class hierarchy and extend a .NET Framework class. This module also describes how to create generic classes and define extension methods.

  • Creating Class Hierarchies
  • Extending .NET Framework Classes
  • Creating Generic Types

Lab : Refactoring Common Functionality into the User Class

  • Define abstract classes and inherit from base classes to create a class hierarchy.
  • Inherit from .NET Framework classes and use extension methods to add custom functionality to the inherited class.
  • Create generic classes and methods.
  • Module 6: Reading and Writing Local Data

This module explains how to read and write data by using file input/output (I/O) and streams, and how to serialize and deserialize data in different formats.

  • Reading and Writing Files
  • Serializing and Deserializing Data
  • Performing I/O Using Streams

Lab : Generating the Grades Report

  • Read and write data to and from the file system by using file I/O.
  • Convert data into a format that can be written to or read from a file or other data source.
  • Use streams to send and receive data to or from a file or other data source.
  • Module 7: Accessing a Database

This module explains how to create and use an entity data model for accessing a database, and how to use LINQ to query and update data.

  • Creating and Using Entity Data Models
  • Querying Data by Using LINQ
  • Updating Data by Using LINQ

Lab : Retrieving and Modifying Grade Data

  • Create an entity data model, describe the key classes contained in the model, and customize the generated code.
  • Use LINQ to query and work with data.
  • Use LINQ to insert, update, and delete data.
  • Module 8: Accessing Remote Data

This module explains how to use the types in the System.Net namespace, and WCF Data Services, to query and modify remote data.

  • Accessing Data Across the Web
  • Accessing Data in the Cloud

Lab : Retrieving and Modifying Grade Data in the Cloud

  • Use the classes in the System.Net namespace to send and receive data across the Web.
  • Create and use a WCF Data Service to access data in the cloud.
  • Module 9: Designing the User Interface for a Graphical Application

This module explains how to build and style a graphical user interface by using XAML. This module also describes how to display data in a user interface by using data binding.

  • Using XAML to Design a User Interface
  • Binding Controls to Data
  • Styling a User Interface

Lab : Customizing Student Photographs and Styling the Application

  • Define XAML views and controls to design a simple graphical user interface.
  • Use XAML data binding techniques to bind XAML elements to a data source and display data.
  • Add styling and dynamic transformations to a XAML user interface.
  • Module 10: Improving Application Performance and Responsiveness

This module explains how to improve the throughput and response time of applications by using tasks and asynchronous operations.

  • Implementing Multitasking by using Tasks and Lambda Expressions
  • Performing Operations Asynchronously
  • Synchronizing Concurrent Access to Data

Lab : Improving the Responsiveness and Performance of the Application

  • Create tasks and lambda expressions to implement multitasking.
  • Define and use asynchronous methods to improve application responsiveness.
  • Coordinate concurrent access to data shared across multiple tasks by using synchronous primitives and concurrent collections.
  • Module 11: Integrating with Unmanaged Code

This module explains how to integrate unmanaged libraries and dynamic components into a C# application. This module also describes how to control the lifetime of unmanaged resources.

  • Creating and Using Dynamic Objects
  • Managing the Lifetime of Objects and Controlling Unmanaged Resources

Lab : Upgrading the Grades Report

  • Integrate unmanaged code into a C# application by using the Dynamic Language Runtime.
  • Control the lifetime of unmanaged resources and ensure that they are disposed properly.
  • Module 12: Creating Reusable Types and Assemblies

This module explains how to examine the metadata of types by using reflection, create and use custom attributes, generate managed code at runtime, and manage different versions of assemblies.

  • Examining Object Metadata
  • Creating and Using Custom Attributes
  • Generating Managed Code
  • Versioning, Signing and Deploying Assemblies

Lab : Specifying the Data to Include in the Grades Report

  • Examine the metadata of objects at runtime by using reflection.
  • Create and use custom attribute class.
  • Generate managed code at runtime by using CodeDOM.
  • Manage different versions of an assembly and deploy an assembly to the Global Assembly Cache.

This module explains how to encrypt and decrypt data by using symmetric and asymmetric encryption.

  • Implementing Symmetric Encryption
  • Implementing Asymmetric Encryption
  • Perform symmetric encryption by using the classes in the System.Security namespace.
  • Perform asymmetric encryption by using the classes in the System.Security namespace.
Lab : Encrypting and Decrypting Grades Reports

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost effective option.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.

Upcoming Dates

  • GREEN This class is Guaranteed To Run.
  • SPVC - Self-Paced Virtual Class.
  • Click a Date to Enroll.
Course Location Days Cost Date
London
London3 1500 £1500 2019-07-10
Midlands
Birmingham2 650 £650 2019-07-15
Wallisellen
Wallisellen5 3890 £3890 2019-07-15
Yorkshire
Sheffield2 650 £650 2019-07-15
Lille
Lille5 2500 £2500 2019-07-15
London
London3 1500 £1500 2019-07-17
London
London3 1695 £1695 2019-07-17
Onsite
Onsite5 3500 3500 2019-07-20
Manchester
Manchester2 650 £650 2019-07-23
London
London3 1500 £1500 2019-07-23
London
London3 1500 £1500 2019-07-23
London
London5 2445 £2445 2019-07-29
London
London3 1695 £1695 2019-07-31
Wallisellen
Wallisellen5 2500 £2500 2019-08-04
London
London5 3845 £3845 2019-08-05
London
London5 3845 £3845 2019-08-05
Bristol
Bristol3 1750 £1750 2019-08-12
Bristol
Bristol4 1750 £1750 2019-08-12
Bristol
Bristol5 1750 £1750 2019-08-12
Bristol
Bristol4 1750 £1750 2019-08-13
Bristol
Bristol3 1750 £1750 2019-08-14
Bristol
Bristol2 1750 £1750 2019-08-15
Bristol
Bristol1 1750 £1750 2019-08-16
London
London3 1295 £1295 2019-08-28
London
London5 2445 £2445 2019-09-16
Midlands
Birmingham2 650 £650 2019-09-16
Yorkshire
Sheffield2 650 £650 2019-09-16
Glasgow
Glasgow3 1500 £1500 2019-09-18
Manchester
Manchester3 1500 £1500 2019-09-18
Midlands
Birmingham3 1500 £1500 2019-09-18
Bayern
Munchen5 2500 £2500 2019-09-23
London
London2 650 £650 2019-09-23
London
London5 3845 £3845 2019-09-23
London
London5 3845 £3845 2019-09-23
London
London3 1695 £1695 2019-10-02
Bristol
Bristol5 1750 £1750 2019-10-07
Bristol
Bristol4 1750 £1750 2019-10-08
London
London2 650 £650 2019-10-08
Bristol
Bristol3 1750 £1750 2019-10-09
Yorkshire
Leeds2 650 £650 2019-10-09
Bristol
Bristol2 1750 £1750 2019-10-10
Bristol
Bristol1 1750 £1750 2019-10-11
London
London3 1500 £1500 2019-10-14
Wallisellen
Wallisellen5 3890 £3890 2019-10-14
Bayern
Munchen5 2500 £2500 2019-10-14
London
London3 1295 £1295 2019-10-21
Utrecht
Utrecht0 2500 £2500 2019-10-24
Lazio
Rome0 2500 £2500 2019-10-24
London
London5 2445 £2445 2019-10-28
Nottinghamshire
Nottingham2 650 £650 2019-10-28
Yorkshire
Sheffield2 650 £650 2019-11-11
Ile de France
Paris5 2500 £2500 2019-11-11
Online
Online5 2110 £2110 2019-11-11
Manchester
Manchester5 3845 £3845 2019-11-11
London
London5 2110 £2110 2019-11-11
Baden-Wuerttemberg
Stuttgart5 2500 £2500 2019-11-11
Manchester
Manchester2 650 £650 2019-11-11
Bristol
Bristol2 1750 £1750 2019-11-11
Midlands
Birmingham2 650 £650 2019-11-11
Bristol
Bristol5 1750 £1750 2019-11-11
Berkshire
Bracknell5 2110 £2110 2019-11-11
Bristol
Bristol1 1750 £1750 2019-11-11
Baden-Wuerttemberg
Stuttgart5 2500 £2500 2019-11-25
London
London5 3845 £3845 2019-12-02
London
London5 3845 £3845 2019-12-02
London
London3 1695 £1695 2019-12-04
London
London5 2110 £2110 2019-12-09
Berkshire
Bracknell5 2110 £2110 2019-12-09
Online
Online5 2110 £2110 2019-12-09
London
London3 1295 £1295 2019-12-16