C#-OOP: Object-Oriented Programming in C#

C# Object Oriented Programming (OOP) Course Sheffield London Leeds Yorkshire Manchester Online

Autumn Deals - Exceptional Offers - VIEW NOW!

Topics ADDED DAILY include: Agile | PRINCE2 | .NET / C# | SQL | Train the Trainer

Gain comprehensive Object-Oriented C# skills - attend this course


TechnologyVisual Studio
Course Level300
FeeSee Events (below)
Duration (Days)5

Object-Oriented Programming in C# Public Schedule

Date (DMY) *1DurationLocationQA Fee*Fee - Discounts Available
10/12/2018 5 Days Virtual Live Classroom £3962 £1295
*1 Event Start 9:00 | End 17:00. Timezone Information: UK Local Time unless Timezone indicated for event. Part-time sessions typically 3 hours duration
Symbols: W/E = Weekend Course MORN = Morning Session AFT = Afternoon Session EVE = Evening Session

* QA pricing from their website 12/08/2018. QA class sizes up to 16 possibly mixed Virtual and In-Person attendees on the same event. Prices INCLUDE VAT.

Book now »


Course Introduction

Microsoft’s .NET is a revolutionary advance in programming technology that greatly simplifies application development and is a good match for the emerging paradigm of Web-based services, as opposed to proprietary applications. Part of this technology is the new language from Microsoft, C#. This language combines the power of C++ and the ease of development of Visual Basic 6. It bears a striking resemblance to Java and improves on that language. C# has become the dominant language for building new applications on Microsoft platforms.

This thorough and comprehensive course is a practical introduction to programming in C#, utilizing the services provided by .NET. This course emphasizes the C# language. It is current to Visual Studio 2017, .NET Framework 4.7 and C# 7.0. Important newer features such as dynamic data type, named and optional arguments, the use of variance in generic interfaces, asynchronous programming keywords, and tuples are covered in a final chapter. The course includes coverage of the fundamentals of Language Integrated Query (LINQ).

Certification and Related Examinations

The course is designed to provide practical concepts and skills for C# and as such this will help build skills for certification programs without covering the breadth of any particular certification.

Contact us for information on exams.

Audience

This course is intended to be fully accessible to programmers who do not already have a strong background in object-oriented programming in C-like languages, such as C++ or Java. It is ideal, for example, for procedural programmers who desire to learn C#.

An important focus of the course is to teach C# programming from an object-oriented perspective. It is often difficult for programmers trained originally in a procedural language to start “thinking in objects.” This course introduces object-oriented concepts early, and C# is developed in a way that leverages its object orientation. A case study is used to illustrate creating a complete system using C# and .NET. Besides supporting traditional object-oriented features, such as classes, inheritance, and polymorphism, C# introduces several additional features, such as properties, indexers, delegates, events, and interfaces that make C# a compelling language for developing object-oriented and component-based systems. This course provides thorough coverage of all these features.

C# as a language is elegant and powerful. But to utilize its capabilities fully, you need to have a good understanding of how it works with the .NET Framework. The course explores several important interactions between C# and the .NET Framework, and it includes an introduction to major classes for collections, delegates, and events. It includes a succinct introduction to creating GUI programs using Windows Forms. The course concludes with a chapter covering the newer features in the language through C# 7.0.

Numerous programming examples and exercises are provided, including the case study. The student will receive a comprehensive set of materials, including course notes and all the programming examples.

The course includes four electronic supplements, provided as PDF files. They cover Visual Studio 2017, Language Integrated Query (LINQ), unsafe code and the C# pointer type, and .NET 4.7.

At Course Completion

  • C# Program Structure
  • Main() and Command-Line Arguments
  • Object-Oriented Programming with C#
  • Namespaces
  • Statements, Expressions and Operators
  • Types, Variables and Values include Numeric and String Types
  • Classes and Structures
  • Inheritance
  • Polymorphism
  • Interfaces
  • Enumeration Types
  • Delegates and Events
  • Arrays
  • Collections
  • Properties
  • Indexers
  • Generics
  • Iterators
  • LINQ Query Expressions
  • Lambda Expressions
  • XML Documentation Comments
  • Application Domains
  • Assemblies and the Global Assembly Cache
  • Attributes
  • Exceptions and Exception Handling
  • Interoperability
  • Reflection
  • .NET Platform Specifics
  • Core Features of Visual Studio 2017

Prerequisites

The student should have programming experience in a high-level language such as COBOL, BASIC or similar. Experience with scripting languages such as JavaScript will also provide sufficient background to attend.

Materials

Materials include courseware, hands-on learning environment and related subject matter.

'Attend from Anywhere' Virtual Classroom Courses

Our virtual classroom courses include a FREE Microsoft approved USB headset which we post out to you. A simple connectivity test is also required to ensure you'll be able to participate.

For 'Attend from Anywhere' virtual classroom courses you'll additionally need either a PC or a Mac with internet access.

Please review the full technical requirements at the address below:

  • https://support.citrixonline.com/en_US/Training/all_files/G2T010003 - use the Citrix's test to confirm your technical set-up. Contact us for further information

Course Outline

Module 1: .NET: What You Need To Know

  • .NET Executables and the CLR
  • A .NET Testbed for C# Programming
  • Using Visual Studio 2017

Module 2: First C# Programs

  • Hello, World
  • Namespaces
  • Variables and Expressions
  • Using C# as a Calculator
  • Input/Output in C#
  • .NET Framework Class Library

Module 3: Data Types in C#

  • Data Types
  • Integer Types
  • Floating Point Types
  • Decimal Type
  • Characters and Strings
  • Boolean Type
  • Conversions
  • Nullable Types

Module 4: Operators and Expressions

  • Operator Cardinality
  • Arithmetic Operators
  • Relational Operators
  • Logical Operators
  • Bitwise Operators
  • Assignment Operators
  • Expressions
  • Checked and Unchecked

Module 5: Control Structures

  • If Tests
  • Loops
  • Arrays
  • Foreach
  • More about Control Flow
  • Switch

Module 6: Object-Oriented Programming

  • Objects
  • Classes
  • Inheritance
  • Polymorphism
  • Object-Oriented Languages
  • Components

Module 7: Classes

  • Classes as Structured Data
  • Methods
  • Constructors and Initialization
  • Static Fields and Methods
  • Constant and Readonly

Module 8: More about Types

  • Overview of Types in C#
  • Value Types
  • Boxing and Unboxing
  • Reference Types
  • Implicitly Typed Variables

Module 9: Methods, Properties and Operators

  • Methods
  • Parameter Passing
  • Method Overloading
  • Variable-Length Parameter Lists
  • Properties
  • Auto-Implemented Properties
  • Operator Overloading

Module 10: Characters and Strings

  • Characters
  • Strings
  • String Input
  • String Methods
  • StringBuilder Class
  • Programming with Strings

Module 11: Arrays and Indexers

  • Arrays
  • System.Array
  • Random Number Generation
  • Jagged Arrays
  • Rectangular Arrays
  • Arrays as Collections
  • Bank Case Study - Step 1
  • Indexers

Module 12: Inheritance

  • Single Inheritance
  • Access Control
  • Method Hiding
  • Initialization
  • Bank Case Study — Step 2

Module 13: 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

Module 14: Formatting and Conversion

  • ToString
  • Format Strings
  • String Formatting Methods
  • Bank Case Study — Step 4
  • Type Conversions

Module 15: Exceptions

  • Exception Fundamentals
  • Structured Exception Handling
  • User-Defined Exception Classes
  • Inner Exceptions
  • Bank Case Study — Step 5

Module 16: Interfaces

  • Interface Fundamentals
  • Programming with Interfaces
  • Using Interfaces at Runtime
  • Bank Case Study — Step 6
  • Resolving Ambiguities

Module 17: .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

Module 18: Delegates and Events

  • Delegates
  • Anonymous Methods
  • Lambda Expressions
  • Events

Module 19: Introduction to Windows Forms

  • Creating Windows Applications Using Visual Studio 2017
  • Partial Classes
  • Buttons, Labels and Textboxes
  • Handling Events
  • Listbox Controls

Module 20: Newer Features in C#

  • Dynamic Data Type
  • Named Arguments
  • Optional Arguments
  • Variance in Generic Interfaces
  • Asynchronous Programming Keywords
  • New Features in C# 6.0 and C# 7.0

Appendix A. Learning Resources