Overview
In this courses, participants review the basics of C# program structure, language syntax, and implementation details, and then add to their knowledge throughout the duration as they progressively build an application that incorporates many of the most important features of.NET Framework 4.5.
Objectives
At the end of C# Programming training course, participants 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
Developers attending this course should have some experience using C# to complete basic programming tasks.
Course Outline
- Overview of Writing Applications using C#
- Datatypes, Operators, and Expressions
- C# Programming Language Constructs
- Creating and Invoking Methods
- Creating Overloaded Methods and Using Optional and Output Parameters
- Handling Exceptions
- Monitoring Applications
- Implementing Structs and Enums
- Organizing Data into Collections
- Handling Events
- Creating Classes
- Defining and Implementing Interfaces
- Implementing Type-safe Collections
- Creating Class Hierarchies
- Extending .NET Framework Classes
- Creating Generic Types
- Reading and Writing Files
- Serializing and Deserializing Data
- Performing I/O Using Streams
- Creating and Using Entity Data Models
- Querying Data by Using LINQ
- Updating Data by Using LINQ
- Accessing Data Across the Web
- Accessing Data in the Cloud
- Using XAML to Design a User Interface
- Binding Controls to Data
- Styling a User Interface
- Implementing Multitasking by using Tasks and Lambda Expressions
- Performing Operations Asynchronously
- Synchronizing Concurrent Access to Data
- Creating and Using Dynamic Objects
- Managing the Lifetime of Objects and Controlling Unmanaged Resources
- Examining Object Metadata
- Creating and Using Custom Attributes
- Generating Managed Code
- Versioning, Signing and Deploying Assemblies
- Implementing Symmetric Encryption
- Implementing Asymmetric Encryption