Programming in C#

Session Detail:    Classroom 5 Day

This training course teaches developers the programming skills that are required for developers to create Windows applications using the Visual C# language. During their five days in the classroom, students review the basics of Visual C# program structure, language syntax, and implementation details, and then consolidate their knowledge throughout the week as they build an application that incorporates several features of the .NET Framework 4.7.


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 a 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 the 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.

Who Can Benefit

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.

Session Outline

Class Outline

Module 1: Review of Visual C# Syntax

  • Lesson 1: Overview of Writing Application by Using Visual C#
  • Lesson 2: Data Types, Operators, and Expressions
  • Lesson 3: Visual C# Programming Language Constructs

After completing this module, students will be able to:

  • Describe the architecture of .NET Framework applications and the features that Visual Studio 2017 and Visual C# provide
  • Use basic Visual C# data types, operators, and expressions
  • Use standard Visual C# constructs

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

  • Lesson 1: Creating and Invoking Methods
  • Lesson 2: Creating Overloaded Methods and Using Optional and Output Parameters
  • Lesson 3: Handling Exceptions
  • Lesson 4: Monitoring Applications

After completing this module, students will be able to:

  • Create and invoke methods
  • Create overloaded methods and use optional parameters
  • Handle exceptions
  • Monitor applications by using logging, tracing, and profiling

Module 3: Basic types and constructs of Visual C#

  • Lesson 1: Implementing Structs and Enums
  • Lesson 2: Organizing Data into Collections
  • Lesson 3: Handling Events

After completing this module, students will be able to:

  • Create and use structs and enums
  • Use collection classes to organize data
  • Create and subscribe to events

Module 4: Creating Classes and Implementing Type-Safe Collections

  • Lesson 1: Creating Classes
  • Lesson 2: Defining and Implementing Interfaces
  • Lesson 3: Implementing Type-Safe Collections

After completing this module, you will be able to:

  • Create and instantiate classes.
  • Create and instantiate interfaces.
  • Use generics to create type-safe collections.

Module 5: Creating a Class Hierarchy by Using Inheritance

  • Lesson 1: Creating Class Hierarchies
  • Lesson 2: Extending .NET Framework Classes

After completing this module, you will be able to:

  • Create base classes and derived classes by using inheritance
  • Create classes that inherit from .NET Framework classes

Module 6: Reading and Writing Local Data

  • Lesson 1: Reading and Writing Files
  • Lesson 2: Serializing and Deserializing Data
  • Lesson 3: Performing I/O by Using Streams

After completing this module, you will be able to:

  • 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 data source

Module 7: Accessing a Database

  • Lesson 1: Creating and Using Entity Data Models
  • Lesson 2: Querying Data by Using LINQ

After completing this module, you will be able to:

  • Create, use, and customize an EDM
  • Query data by using LINQ

Module 8: Accessing Remote Data

  • Lesson 1: Accessing Data Across the Web
  • Lesson 2: Accessing Data by Using OData Connected Services

After completing this module, you will be able to:

  • Send data to and receive data from web services and other remote data sources
  • Access data by using WCF Data Services

Module 9: Designing the User Interface for a Graphical Application

  • Lesson 1: Using XAML to Design a User Interface
  • Lesson 2: Binding Controls to Data

After completing this module, you will be able to:

  • Use XAML to design a UI
  • Bind a XAML control to data
  • Apply styles to a XAML UI

Module 10: Improving Application Performance and Responsiveness

  • Lesson 1: Implementing Multitasking
  • Lesson 2: Performing Operations Asynchronously
  • Lesson 3: Synchronizing Concurrent Access to Data

After completing this module, you will be able to:

  • Use the Task Parallel Library to implement multitasking
  • Perform long-running operations without blocking threads
  • Control how multiple threads can access resources concurrently

Module 11: Integrating with Unmanaged Code

  • Lesson 1: Creating and Using Dynamic Objects
  • Lesson 2: Managing the Lifetime of Objects and Controlling Unmanaged Resources

After completing this module, you will be able to:

  • Integrate unmanaged code into a Microsoft Visual C# application by using the Dynamic Language Runtime (DLR)
  • Control the lifetime of unmanaged resources and ensure that your application releases resources

Module 12: Creating Reusable Types and Assemblies

  • Lesson 1: Examining Object Metadata
  • Lesson 2: Creating and Using Custom Attributes
  • Lesson 3: Generating Managed Code
  • Lesson 4: Versioning, Signing, and Deploying Assemblies

After completing this module, you will be able to:

  • Use reflection to inspect and execute assemblies
  • Create and consume custom attributes
  • Generate managed code at run time by using CodeDOM
  • Version, sign and deploy your assemblies to the GAC

Module 13: Encrypting and Decrypting Data

  • Lesson 1: Implementing Symmetric Encryption
  • Lesson 2: Implementing Asymmetric Encryption

After completing this module, you will be able to:

  • Encrypt data by using symmetric encryption
  • Encrypt data by using asymmetric encryption

Need to train your team?

All of our sessions can be customized to meet your team’s specific need. Build the perfect program by picking and choosing topics from any of the courses in our catalog. A personalized private session gives you the ultimate flexibility and helps maximize your team’s valuable time!

Requesting Team Training
DateTimeTypePriceAdd To Cart

Programming in C#

5 Day


Chat with a Coach

Chat with a Coach

Have a more immediate need? Why spend the next hour searching online for answers when you can spend just 15 minutes with one of our experts and get accurate and personalized answers to all of your questions. 

$9.99 | 15 Minutes

Book Now