Object-Oriented Programming in C# (VS 2012) Training in Thousand Oaks

Enroll in or hire us to teach our Object-Oriented Programming in C# (VS 2012) class in Thousand Oaks, California by calling us @303.377.6176. Like all HSG classes, Object-Oriented Programming in C# (VS 2012) may be offered either onsite or via instructor led virtual training. Consider looking at our public training schedule to see if it is scheduled: Public Training Classes
Provided there are enough attendees, Object-Oriented Programming in C# (VS 2012) may be taught at one of our local training facilities.
We offer private customized training for groups of 3 or more attendees.

Course Description

This thorough and comprehensive cour se is a practical introduction to programming in C#, utilizing the services provided by .NET. This course emphasizes th e C# language. It is curre nt to Visual Studio 2012 and .NET 4.5. Important newer features such as d ynamic data type, named and optional arguments, the use of variance in generic interfaces, and asynchr onous programming keywords are covered in a final chapter. A supplement covers the fundamentals of Language Integrated Query (LINQ). An important thrust of the course is to teach C# programming from an object-oriented perspect ive. It is often difficult for programmers trained originally in a procedural la nguage 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 sy stem using C# and .NET. Besides supporting traditional object-oriente d features, such as classes, i nheritance, and polymorphism, C# introduces several additional features, such as properties, indexers, delegates, events, and interfaces that make C# a compelling language for developing obj ect-oriented and component-based systems. This course provides thorough coverage of all these f eatures. The course expl ores several important interactions between C# and the .NET Framework, a nd it includes an introducti on to major classes for collections, delegates, and events . It includes a succinct introducti on to creating GUI programs using Windows Forms. The course concludes with a chap ter covering the new featur es in C# 4.0 and C# 5.0
Course Length: 5 Days
Course Tuition: $2090 (US)


The student should have programming e xperience in a high-level language.

Course Outline


1. .NET: What You Need to Know
Getting Started
.NET: What is Really Happening
.NET Programming in a Nutshell
Viewing the Assembly
Viewing Intermediate Language
Understanding .NET
Visual Studio 2012
Creating a Console Application
Adding a C# file
Using the Visual Studio Text Editor
Build and Run the Project
Pausing the Output
Visual C# and GUI Programs
.NET Documentation

2. First C# Programs
Hello, World
Compiling, Running (Command Line)
Program Structure
Calculations Using C#
More About Output in C#
Input in C#
More About Classes
InputWrapper Class
Echo Program
Using InputWrapper
Compiling Multiple Files
Multiple Files in Visual Studio
The .NET Framework
Lab 2

3. Data Types in C#
Strong Typing
Typing in C#
Typing in C++
Typing in Visual Basic 6
C# Types
Integer Types
Integer Type Range
Integer Literals
Floating Point Types
Floating Point Literals
IEEE Standard for Floating Point
Decimal Type
Decimal Literals
Character Type
Character Literals
Escape Characters
Boolean Type
Implicit Conversions
Explicit Conversions
Nullable Types
Lab 3

4. Operators and Expressions
Operator Cardinality
Arithmetic Operators
Additive Operators
Increment and Decrement
Relational Operators
Conditional Logical Operators
Short-Circuit Evaluation
Ternary Conditional Operators
Bitwise Operators
Bitwise Logical Operators
Bitwise Shift Operators
Assignment Operators
Lab 4

5. Control Structures
If Test
while Loop
do/while Loops
for Loops
foreach Loop
Structure Programming
Multiple Methods
switch in C# and C/C++
Lab 5

6. Object-Oriented Programming
Objects in the Real World
Object Models
Reusable Software Components
Objects in Software
State and Behavior
Inheritance Concepts
Relationships among Classes
Object-Oriented Analysis and Design
Use Cases
CRC Cards and UML

7. Classes
Classes as Structure Data
Classes and Objects
Instantiating and Using an Object
Assigning Object References
Garbage Collection
Public and Private
Initialization with Constructors
Default Constructor
Static Fields and Methods
Static Methods
Static Constructor
Constant and Readonly Fields
Lab 7

8. More about Types
Overview of Types in C#
Uninitialized Variables
Copying a Structure
Classes and Structs
Enumeration Types
Reference Types
Class Types
Default Values
Boxing and Unboxing
Implicitly Types Variables
Lab 8

9. Methods, Properties, and Operators
Static and Instance Methods
Method Parameters
No "Freestanding" Functions in C#
Classes with All Static Methods
Parameter Passing
Parameter Terminology
Value Parameters
Reference Parameters
Output Parameters
Structure Parameters
Class parameters
Method Overloading
Modifiers as Part of the Signature
Variable Length Parameter Lists
Auto-Implemented Properties
Lab 9B
Operator Overloading
Operator Overloading in the Class Library

10. Characters and Strings
Character Codes
ASCII and Unicode
Escape Sequences
String Class
String Literals and Initialization
Relational Operators
String Equality
String Comparisons
String Input
String Methods and Properties
StringBuilder Class
StringBuilder Equality
Command Line Arguments
Command Line Arguments in the IDE
Command Loops
Splitting a String
Lab 10

11. Arrays and Indexers
One Dimensional Arrays
Random Number Generation
Next Methods
Jagged Arrays
Rectangular Arrays
Arrays as Collections
Account Class
Bank Class
TestBank Class
Atm Class
Running the Case Study
Using the Indexer
Lab 11

12. Inheritance
Inheritance Fundamentals
Inheritance in C#
Single Inheritance
Root Class -Object
Access Control
Public Class Accessibility
Internal Class Accessibility
Member Accessibility
Member Accessibility Qualifiers
Method Hiding
Method Hiding and Overriding
Initialization Fundamentals
Default Constructor
Overloaded Constructors
Invoking Base Class Constructors
Bank Case Study Analysis
Savings Accpont
Running the Case Study
Lab 12

13. Virtual Methods and Polymorphism
Introduction to Polymorphism
Abstract and Sealed Classes
Virtual Methods and Dynamic Binding
Type Conversions in Inheritance
Converting Down the Hierarchy
Converting Up the Hierarchy
Virtual Methods
Virtual Method Cost
Method overriding
The Fragile Base Class Problem
override Keyword
Polymorphism Using "Type Tags"
Polymorphism Using Virtual
Abstract Classes
Sealed Classes
Heterogeneous Collections
Case Study Classes
Run the Case Study
CheckingAccount, SavingsAccount
Bank and Atm
Lab 13

14. Formatting and Conversion
Introduction to Formatting
ToString in Your Own Class
Using Placeholders
Format Strings
Controlling Width
Format String
PadLeft and PadRight
Type Conversions
Conversion of Built-In Types
Conversion of User-Defined Types
Lab 14

15. Exceptions
Introduction to Exceptions
Exception Fundamentals
.NET Exception Handling
Exception Flow of Control
Context and Stack Unwinding
User-Defined Exception Classes
Structure Exception Handling
Finally Block
Inner Exceptions
Checked Integer Arithmetic
Lab 15

16. Interfaces
Interfaces in C#
Interface Inheritance
Programming with Interfaces
Implementing Interfaces
Using an Interface
Dynamic Use of Interfaces
is Operator
as Operator
Common Interfaces in Case Study -IAccount
Apparent Redundancy
IStatement Methods
The Implementation
The Client
Resolving Ambiguity
Access Modifier
Explicit Interfaces Test Program

17. .NET Interfaces and Collections
Count and Capacity
foreach Loop
Array Notation
Adding to the List
Remove Method
RemoveAt Method
Collection Interfaces
IEnumerable and IEnumerator
A Collection of User-Defined Objects
Duplicate Objects
A Correction to AccountList (Step 1)
Copy Semantics and ICloneable
Copy Semantics in C#
Shallow Copy and Deep Copy
Reference Copy
Memberwise Clone
Using ICloneable
Comparing Objects
Sorting an Array
Anatomy of Array.Sort
Using the is Operator
The Use of Dynamic Type Checking
Implementing IComparable
Running the Program
Complete Solution
Lab 17A
Writing Generic Code
Using a Class of object
Generic Types
Generic Syntax in C#
Generic Client Code
Lab 17B
Object Initializers
Collection Initializers
Anonymous Types

18. Delegates and Events
Overview of Delegates and Events
Callbacks and Delegates
Usage of Delegates
Declaring a Delegate
Defining a Method
Creating a Delegate Object
Calling a Delegate
A Random Array
Anonymous Methods
Combining Delegate Objects
Lambda Expressions
Named Method
Events in C# and .NET
Client Side Event Code
Lab 18

19. Introduction to Windows Forms
Creating a Windows Forms App
Partial Classes
Windows Forms Event Handling
Add Events for a Control
Events Documentation
Closing a Form
ListBox Control
Lab 19

20. New Features in C# 4.0 and C# 5.0
dynamic Type
dynamic versus object
Behavior of object
Behavior of dynamic
Names Arguments
Optional Arguments
Book Class
Using Optional Arguments
Variance in Generic Interfaces
Variance with IComparer
Interfaces with Variance Support
Asynchronous Programs in C# 5.0
Task and Task
Aysnc Methods
Synchronous Call
Async Call

21. Appendix A - Learning Resources

Course Directory [training on all levels]

Upcoming Classes
Gain insight and ideas from students with different perspectives and experiences.

C# Programming Uses & Stats

C# Programming is Used For:
Windows Applications Business Enterprise Applications Software Development Web Applications
Year Created
In Demand: 
C# along with Java is one of the top languages in demand for employers. 
.Net Library:
C# is integrated with the .Net Library thereby providing access to a vast archive of functionality and support. 
Team Friendly:
Multiple developers can easily work together on a project. 
Compiled Language:
The code that is stored on a public-facing server is in binary form. In other words, if your server gets hacked, the hacker doesn't automatically have access to your source code. 
C# roots are derived from C which means that the structure is transferable to other languages like Java, Objective C, PHP and C++. 

Steep Learning Curve:
For beginners, C# is not the easiest program to start with. 

Windows Application Exclusively:
Any .NET application needs a Windows platform to execute which means that companies using Linux servers would need Windows hosting to run a .Net application. 
Lack of Support for Older .NET:
Many enterprise organizations keep older operating systems because of the many problems that an upgrade can bring to the platform. Microsoft stops supporting older .NET frameworks after a few operating systems upgrades. 
C# Programming Job Market
Average Salary
Job Count
Top Job Locations

New York City 
Mountain View
San Francisco 

Complimentary Skills to have along with C# Programming

Since the .NET development ecosystem spans a wide array of capabilities and tools, it is difficult for .NET developers to know which .NET development skills and training to pursue in order to increase their marketability — and earning potential.  For that reason, learning supplemental languages such as Java, JavaScript, Python, C/C++, and others is expected in today’s competitive skill-set driven playing field.

Interesting Reads Take a class with us and receive a book of your choosing for 50% off MSRP.