C# Programming Fundamentals

Course code:MSAP0B


Duration: 5 Days / 40 Hours

C# is a modern object-oriented, general-purpose programming language, created and developed by Microsoft together with the .NET platform. This training course teaches developers the fundamental programming skills that are required for developers to create Windows applications using the C# language, through the principles of object-oriented programming (OOP). In this course Microsoft .NET framework is used as a means of developing C# application.

Audience

This course is intended for novice programmers who want to acquire fundamental skills for writing C# applications using Microsoft .NET framework.

Prerequisites

Required: Understanding of programming concepts.

Desired: Prior knowledge in programming using C or C++.

Objective

After completing this course, students will be able to:
  • Understand usage of C# in developing applications.
  • Install software required to develop and run C# applications.
  • Usage of different data types.
  • Use decision statements, conditional branches and iterations.
  • Object oriented programming concepts.
  • Exception handling and defining user defined exception handlers.
  • What are collections and generics and how to implement them.
  • Serialization and file handling.
  • Differentiate variable scope and accessibility modifiers.
  • How to use namespaces.
  • Create and reference assemblies.
  • Basics of creating a Windows application.
  • CLR (common language runtime) and its relevance.
  • More concepts such as event handling, lambda expression, etc.
  • Create a small prototype application by applying the concepts learned in this course.

Education Criteria

None

Module 1: Introduction to .NET Framework 4.5

  • What is .NET Platform?
  • .NET Framework, Languages, and Tools
  • .NET Framework Major Components
  • Common Language Runtime (CLR)
  • Compilation and Execution in .NET
  • Understand the .NET Framework 4.5 stack
  • Visual Studio 2015

Module 2: Basics of C#

  • Features of C#
  • C# Compilation and Execution
  • General Structure of a C# Program
  • Conrtol Structures
  • Data Types in C#
  • Value Types and Reference Types
  • Boxing and UnBoxing
  • Arrays

Module 3: Objects Oriented Programming System

  • Procedure Oriented Languages
  • OPPS Concepts
  • Classes and Objects
  • Constructors
  • Overloading
  • Structures in C#
  • Inheritance
  • Properties and Indexers
  • Concept of Function Overriding
  • Virtual Function and Abstract Class
  • Sealed Class
  • Interfaces
  • Method Parameters (in, out, ref and params)
  • Object Initializers

Module 4: Exception Handling

  • Introduction
  • Exception Handling in C#
  • The System.Exception class
  • Multiple Catch statements
  • User Defined Exception

Module 5: Collections & Generics

  • Collections Namespace
  • Collection Interfaces
  • Collection Classes
  • The collection API
  • Working with Generics
  • Generic Methods, Interfaces, Delegates
  • Collection Initializers
  • Iterators

Module 6: IO & Serialization

  • Need for Serialization
  • Formatters
  • Binary and SOAP Serialization
  • Using I/O
  • Exploring System.IO namespace
  • Directory and File Info Types
  • Basic File I/O

Module 7: Assemblies

  • Need for Serialization
  • Formatters
  • Binary and SOAP Serialization
  • Using I/O
  • Exploring System.IO namespace
  • Directory and File Info Types

Module 8: ADO.NET

  • Introduction to ADO.Net 4.5
  • Working with Connected Architecture
  • Working with disconnected architecture
  • XML support in ADO.Net
  • Implementing Data Access Layer in ADO.NET
 

Module 9: Windows Applications

  • Introduction to Winforms
  • Basic Concepts of GUI Programming
  • Working with MDI Forms
  • Working with Menus

Module 10: Rest of the Things

  • Multi Threading
  • Delegates and Event Handling
  • Distributed Technologies & .NET Remoting
  • File Handling
  • Crystal Reports
  • Auto-Implemented Properties
  • Implicitly Typed Variables
  • Anonymous Types
  • Partial Methods
  • Extension Methods
  • Lambda Expression

Project Work

Course Review