Toll Free - 877-442-3915

Account | Self-Paced Login

Account | Self-Paced Login | 877-442-3915

Improve your skills while working at home
Online Training options available for all of our courses
Live-Instructor - Online Group Training - On-Demand


20483-Programming in C#  Course

20483-Programming in C# Training Course


Course Description:  The Programming in C# - 20483 course is a 5-day course that is designed for students who want to learn the programming skills needed to create Windows applications using the C# language.

Topics covered in the course include:

  • Understand the core syntax and features of C#.
  • Creating and calling methods, catching and handling exceptions, and describing the monitoring requirements of large-scale applications.
  • Implementing the basic structure and key elements of a typical desktop application.
  • Creating classes, defining and implementing interfaces, and creating and using generic collections.
  • Using inheritance to create a class hierarchy
  • Extending a .NET Framework class
  • Creating generic classes and methods.
  • Reading and writing data by using file input/output and streams
  • Serializing and deserializing data in different formats.
  • Creating and using an entity data model for accessing a database and using LINQ to query and update data.
  • Using the types in the System.Net namespace and WCF Data Services to access and query remote data.
  • Building a graphical user interface by using XAML.
  • Improving the throughput and response time of applications with tasks and asynchronous operations.
  • Integrating unmanaged libraries and dynamic components into a C# application.
  • Examining the metadata of types by using reflection, creating and using custom attributes, generating code at runtime, and managing assembly versions.
  • Encrypting and decrypting data by using symmetric and asymmetric encryption

Target Student:This course is designed for students with at least one year of programming experience in C, C++, Java or another eqivalent platform.

Students should possess the following hands-on experience using C# before attending the course:

  • Naming, declaring, initializing and assigning values to variables within an application.
  • Using arithmetic operators to perform arithmetic calculations involving one or more variables
  • Using relational operators to test the relationship between two variables or expressions
  • Using logical operators to combine expressions that contain relational operators.
  • Creating the code syntax for simple programming statements using C# language keywords and recognize syntax errors using the Visual Studio IDE.
  • Creating a simple branching structure using an IF statement.
  • Creating a simple looping structure using a For statement to iterate through a data array.
  • Using the Visual Studio IDE to locate simple logic errors.
  • Creating 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

Training Dates
(Click on the course name below to view course details and full list of class dates)

20483-Programming in C#
Locations: Available Nationwide and Online
Class Date(s): 8/31/2020 - 9/4/2020
Course Fee : $2795


Course Syllabus

Section 1: Review of C# Syntax
This section revisits the core syntax and features of the C# programming language. It also provides an introduction to the Visual Studio 2012 debugger.

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

Lab :
Developing the Class Enrolment Application
• Implementing Edit Functionality for the Students List
• Implementing Insert Functionality for the Students List
• Implementing Delete Functionality for the Students List
• Displaying the Student Age

Section 2: Creating Methods, Handling Exceptions, and Monitoring Applications
This section discusses how to create and call methods, catch and handle exceptions. This section also covers the monitoring requirements of large-scale applications.

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

Lab :
Extending the Class Enrolment Application Functionality
• Refactoring the Enrolment Code
• Validating Student Information
• Saving Changes to the Class List

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

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

Lab :
Writing the Code for the Grades Prototype Application
• Adding Navigation Logic to the Application
• Creating Data Types to Store User and Grade Information
• Displaying User and Grade Information

Section 4: Creating Classes and Implementing Type-safe Collections
This section discusses how to create classes, define and implement interfaces, and create and use generic collections. This section also covers the differences between value types and reference types in C#.

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

Lab :
Adding Data Validation and Type-safety to the Grades Application
• Implementing the Teacher, Student, and Grade Types as Classes
• Adding Data Validation to the Grade Class
• Displaying Students in Name Order
• Enabling Teachers to Modify Class and Grade Data

Section 5: Creating a Class Hierarchy by Using Inheritance
This section discusses how to use inheritance to create a class hierarchy and extend a .NET Framework class. This section also covers how to create generic classes and define extension methods.

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

Lab :
Refactoring Common Functionality into the User Class
• Creating and Inheriting from the User Base Class
• Implementing Password Complexity by Using an Abstract Method
• Creating the ClassFullException Class

Section 6: Reading and Writing Local Data
This section discusses 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.

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

Lab :
Generating the Grades Report
• Serializing the Data for the Grades Report as XML
• Previewing the Grades Report
• Persisting the Serialized Grades Data to a File

Section 7: Accessing a Database
This section discusses how to create and use an entity data model for accessing a database, and how to use LINQ to query and update data.

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

Lab :
Retrieving and Modifying Grade Data
• Creating an Entity Model from the The School of Fine Arts Database
• Updating Student and Grade Data Using the Entity Framework
• Extending the Entity Model to Validate Data

Section 8: Accessing Remote Data
This section discusses how to use the types in the System.Net namespace, and WCF Data Services, to query and modify remote data.

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

Lab :
Retrieving and Modifying Grade Data in the Cloud
• Creating a WCF Data Service for the SchoolGrades Database
• Integrating the WCF Data Service into the Application
• Retrieving Student Photographs Over the Web

Section 9: Designing the User Interface for a Graphical Application
This section discusses how to build and style a graphical user interface by using XAML. This section also covers how to display data in a user interface by using data binding.

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

Lab :
Customizing Student Photographs and Styling the Application
• Customizing the Appearance of Student Photographs
• Styling the Logon View and the StudentPhoto Control

Section 10: Improving Application Performance and Responsiveness
This section discusses how to improve the throughput and response time of applications by using tasks and asynchronous operations.

Topics :
• 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
• Ensuring that the User Interface Remains Responsive When Retrieving Data for Teachers
• Providing Visual Feedback During Long-Running Operations

Section 11: Integrating with Unmanaged Code
This section discusses how to integrate unmanaged libraries and dynamic components into a C# application. This section also covers how to control the lifetime of unmanaged resources.

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

Lab :
Upgrading the Grades Report
• Generating the Grades Report by Using Microsoft Office Word
• Controlling the Lifetime of Word Objects by Implementing the Dispose Pattern

Section 12: Creating Reusable Types and Assemblies
This section discusses 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.

Topics :
• 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
• Creating the IncludeInReport Attribute
• Generating the Report
• Storing the Grades.Utilities Assembly Centrally

Section 13: Encrypting and Decrypting Data
This section discusses how to encrypt and decrypt data by using symmetric and asymmetric encryption.

Topics :
• Implementing Symmetric Encryption
• Implementing Asymmetric Encryption

Lab :
Encrypting and Decrypting Grades Reports
• Encrypting the Grades Report
• Decrypting the Grades Report

Visual Studio Self Paced Courses
Visual Studio On-Site Group Training
Arrange a private Visual Studio training class for your team with one of our Certified Instructors. Private instruction for your team members at a lower per-student price than attending the public courses. Learn More or complete the quote request form below.



Visual Studio On-Demand Training

"The Instructor made class truly interesting and put everything into real world terms."
- Meredith T(Jersey City, NJ)


Business Computer Skills Microsoft Partner

Business Computer Skills BBB Profile