Introduction to C#

16 Ratings

Course Number: CSHP-212
Duration: 5 days (32.5 hours)
Format: Live, hands-on

C# Training Overview

This Introduction to C# training course teaches attendees how C# works with the .NET Framework and includes an introduction to major classes for collections, delegates, and events. Attendees also learn how to use newer language features.

Note: The recommended IDE for this C# training course is Visual Studio 2022, but the course can also be taught using Visual Studio 2017, Visual Studio for Mac, or VS Code upon request.

Location and Pricing

Accelebrate offers instructor-led enterprise training for groups of 3 or more online or at your site. Most Accelebrate classes can be flexibly scheduled for your group, including delivery in half-day segments across a week or set of weeks. To receive a customized proposal and price quote for private corporate training on-site or online, please contact us.

In addition, some courses are available as live, instructor-led training from one of our partners.

Objectives

  • Acquire a working knowledge of C# programming
  • Learn how to implement programs using C# and classes from the .NET Framework
  • Gain an understanding of the object-oriented programming paradigm
  • Learn how to implement simple GUI programs using Windows Forms
  • Gain a working knowledge of important newer features in C#

Prerequisites

All students should have prior programming experience in a modern programming language.  If your students will have no prior modern programming experience, please let us know and we will tailor this course to their needs.

Outline

Expand All | Collapse All

Introduction to .NET
  • What is .NET?
  • .NET Framework, .NET Core, and .NET 5.0
  • Application Models
  • Managed Code
  • Visual Studio 2019
  • C# Console and GUI Programs
First C# Programs
  • Hello, World
  • Namespaces
  • Variables and Expressions
  • Using C# as a Calculator
  • Input/Output in C#
  • .NET Framework Class Library
Data Types in C#
  • Data Types
  • Integer Types
  • Floating Point Types
  • Decimal Type
  • Characters and Strings
  • Boolean Type
  • Conversions
  • Nullable Types
Operators and Expressions
  • Operator Cardinality
  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Bitwise Operators
  • Assignment Operators
  • Expressions
  • Checked and Unchecked
Control Structures
  • If Tests
  • Loops
  • Arrays
  • Foreach
  • More about Control Flow
  • Switch
Object-Oriented Programming
  • Objects
  • Classes
  • Inheritance
  • Polymorphism
  • Object-Oriented Languages
  • Components
Classes
  • Classes as Structured Data
  • Methods
  • Constructors and Initialization
  • Static Fields and Methods
  • Constant and Readonly
More about Types
  • Overview of Types in C#
  • Value Types
  • Boxing and Unboxing
  • Reference Types
  • Implicitly Typed Variables
Methods, Properties, and Operators
  • Methods
  • Parameter Passing
  • Method Overloading
  • Variable-Length Parameter Lists
  • Properties
  • Auto-Implemented Properties
  • Operator Overloading
Characters and Strings
  • Characters
  • Strings
  • String Input
  • String Methods
  • StringBuilder Class
  • Programming with Strings
Arrays and Indexers
  • Arrays
  • System.Array
  • Random Number Generation
  • Jagged Arrays
  • Rectangular Arrays
  • Arrays as Collections
  • Bank Case Study—Step 1
  • Indexers
Inheritance
  • Single Inheritance
  • Access Control
  • Method Hiding
  • Initialization
  • Bank Case Study—Step 2
Virtual Methods and Polymorphism
  • Virtual Methods and Dynamic Binding
  • Method Overriding
  • Fragile Base Class Problem
  • Polymorphism
  • Abstract Classes
  • Sealed Classes
  • Heterogeneous Collections
  • Bank Case Study—Step 3
 Formatting and Conversion
  • ToString
  • Format Strings
  • String Formatting Methods
  • Bank Case Study—Step 4
  • Type Conversions
Exceptions
  • Exception Fundamentals
  • Structured Exception Handling
  • User-Defined Exception Classes
  • Inner Exceptions
  • Bank Case Study—Step 5
  • 16. Interfaces
  • Interface Fundamentals
  • Programming with Interfaces
  • Using Interfaces at Runtime
  • Bank Case Study—Step 6
  • Resolving Ambiguities
.NET Interfaces and Collections
  • Collections
  • Bank Case Study—Step 7
  • IEnumerable and IEnumerator
  • Copy Semantics and ICloneable
  • Comparing Objects
  • Generic Types
  • Type-Safe Collections
  • Object Initializers
  • Collection Initializers
  • Anonymous Types
  • Bank Case Study—Step 8
Delegates and Events
  • Delegates
  • Anonymous Methods
  • Lambda Expressions
  • Events
Introduction to Windows Forms
  • Creating Windows Applications Using Visual Studio 2019
  • Partial Classes
  • Buttons, Labels and Textboxes
  • Handling Events
  • Listbox Controls
Newer Features in C#
  • Dynamic Data Type
  • Named and Optional Arguments
  • Variance in Generic Interfaces
  • Asynchronous Programming Keywords
  • New Features in C# 6.0 and C# 7.0
  • Nullable Reference Types in C# 8.0
  • Immutable Record Types in C# 9.0
Conclusion

Training Materials

All C# training students receive comprehensive courseware.

Software Requirements

  • Windows 10 or later with at least 8GB RAM
  • Visual Studio 2022 or later
  • Related lab files that Accelebrate will provide


Learn faster

Our live, instructor-led lectures are far more effective than pre-recorded classes

Satisfaction guarantee

If your team is not 100% satisfied with your training, we do what's necessary to make it right

Learn online from anywhere

Whether you are at home or in the office, we make learning interactive and engaging

Multiple Payment Options

We accept check, ACH/EFT, major credit cards, and most purchase orders



Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan