Overview
In this live, instructor-led training course, students who already have a programming background will learn to program in C#. Attendees will learn: how C# works and its place in the world of programming languages; its relationship with the Common Language Infrastructure and .NET Framework; C# data types and operators; to write selection statements and loops; generic programming and working with collections; processing data; and error handling. This C# course is taught using C# 8.
Audience
Students new to the C# language who already have experience with other programming languages.
Prerequisites
This course is specially designed for individuals with prior programming background. You should also have a working knowledge of Object Oriented Programming concepts. If you have no prior programming experience or are not familiar with Object Oriented Programming, you should consider our "C# Programming Level 1: Introduction for Non-Programmers" course instead. For details on this alternative course for non-programmers, go to:
C# Programming Level 1: Introduction for Non-Programmers
Course Outline
Section 1: Introduction to Visual Studio
How to get started with Visual Studio
Introduction to the .NET Framework
A tour of the Visual Studio IDE
How to test a project
How to design a Windows Forms Application
Visual Studio Options and Settings
Creating new projects
How to code and test a Windows Forms Application
Introduction to object-oriented programming
Properties, methods, and events
How an application responds to events
Coding a form
How to run, test, and debug a project
Section 2: The C# language essentials
How to Work with Numeric and String Data
Built-in value types
Declaring and initializing variables and constants
Arithmetic expressions
Assignment statements
Casting
Using the Math class
How to code control structures
Boolean expressions
Conditional statements
Loops
How to code methods and event handlers
Coding and calling methods
Parameterizing methods
Refactoring code into a method
Passing arguments by value and by reference to a method
How to handle exceptions and validate data
How exceptions work
Using Structured exception handling
Validating data
How to use Arrays and Collections
One-dimensional arrays
Multi-dimensional arrays
Jagged arrays
Collections
Section 3: Object-Oriented Programming
How to create and use classes
Introduction to classes
Adding classes to a project
Adding class members
Fields
Properties
Methods
Constructors
Static Members
Diagraming classes
Structures
How to work with Inheritance
How inheritance works
Creating base and derived (sub) classes
Polymorphism
Section 4: Database Programming
An introduction to database programming
Components of a client/server system
Introduction to relational databases
Using SQL
Introduction to ADO.NET
How to use ADO.NET to write your own data access code (If Time Permits)
Connections and Commands
Paramaterized SQL Statements
Executing Commands