MS11  .Net C# Programming and WinForms
5 days
Lecture, discussion, demos and hands-on labs.
Students receive course presentation materials, all demos/labs/solutions and a reference text.
This material presents Microsoft's C# programming language and the use of Visual Studio 2008 to develop Windows applications using the .Net 3.5 Framework and libraries. Essential language syntax is included along with working with arrays, collections and exceptions.
Object-Oriented concepts are covered by creating/using Classes, Inheritance and Polymorphism, including interfaces, generics and overloading. SDI/MDI Windows application using Forms, Controls and Events are developed and enhanced, including data-bound controls. Database applications are developed using ADO.Net Data Sources and DataGridView/ToolStrip Controls. Organizing classes, libraries and application deployment mechanisms are presented, along with IDE Debugging facilities.
This course is for developers wishing to learn how to use the C# programming language and .Net Framework to build Windows applications.
This course assumes that students have some programming background. No specific experience with Visual Studio, the .NET Framework, or Visual C# is assumed.
Key Topics
Section 1 An introduction to Visual Studio
Topic 1 How to get started with Visual Studio
.Net Development & Framework, IDE usage, Projects, Build/Running Appls
Topic 2 How to design a Windows Forms application
Project Options, Form Controls & Properties, Naming Conventions, Files
Topic 3 How to code and test a Windows Forms application
OO Syntax for Properties/Methods/Events, Code Window & IntelliSense, Snippets & Refactoring, Debugging Trace

Section 2 The C# language essentials
Topic 4 How to work with numeric and string data
Value Types, Declaration & Initialization, Operators & Expressions, String Types,
Converting Types, Enumerations & Nullable Types
Topic 5 How to code control structures
Boolean Expressions & Operators, Conditional if/switch Stmts, Loops
Topic 6 How to code methods and event handlers
Coding & Calling Methods, Reference vs Value Arguments, Refactoring,
Events and Delegates
Topic 7 How to handle exceptions and validate data
Overview & Processing, Catching & Throwing Exceptions, Exception Properties,
Validating Input Data
Topic 8 How to work with arrays and collections
Creating & Accessing Array Data, foreach Loops, Multi-Dim Rectangular &
Jagged Arrays, Array Class Utility Methods, Common Collections & Lists
Topic 9 How to work with dates and strings
Using DateTime Class Methods, Using String Class Methods, Formatting Numbers/Dates/Times
Topic 10 More skills for working with Windows forms and controls
Combo/List Controls, CheckBox/RadioButton Controls, Tabbing, Multi-Form
Projects, MessageBox Class Methods
Topic 11 How to debug an application
Debugging Options & Modes, Breakpoints, Monitor Windows

Section 3 Object-oriented programming
Topic 12 How to create and use classes
Overview, Creating Class fields/properties/methods/contructors, Static,
Class View & Details Windows, Working with Structures
Topic 13 How to work with indexers, delegates, events, and operators
Indexer Methods, More with Delegates & Events, Overloading Operators
Topic 14 How to work with inheritance
Overview, System.Object, Base & SubClasses, Overriding Methods &
Polymorphism, Casting Object Types, Using Abstract and Sealed Classes
Topic 15 How to work with interfaces and generics
Overview and .Net Framework Interfaces, Creating & Implementing IF
Generic Collection Classes, IComparable & IEnumerable IFs
Topic 16 How to organize and document your classes
Coding Multiple Class Sources, Partial Classes, Namespaces, XML Class
Documentation, Creating & Using Class Libraries

Section 4 Database programming
Topic 17 An introduction to database programming
Overview, Relational DB Tables & Columns, SQL Query, Joins, Add/Del/Upd,
ADO.Net Providers & Components, Concurrency, Data Adapters
Topic 18 How to work with data sources and datasets
Data Source Window & Wizard, DB Connections & DataBase Objects,
Data Sources & DataGridView Controls, Handling Data Errors, DataSet Designer
Topic 19 How to work with bound controls and parameterized queries
Bound Controls & Data Sources, Parameterized Queries, ToolStrip Controls,
More on DataGridView Properties & Formatting
Topic 20 How to use ADO.NET to write your own data access code
Working with Connections, SQL Commands & Parameters
Executing Commands & Data Readers

Section 5 APPENDIX: Other skills for C# developers
Topic 21 How to work with files and data streams
System.IO Classes, Managing Directories & Files, FileStream Classes &
Exceptions, Reading/Writing Text & Binary Files
Topic 22 How to work with XML files
Overview, XML Document Syntax & Contents, XML Edit Window, Using
XMLReader/Writer Classes
Topic 23 How to use LINQ
Overview & Processing, Coding LINQ Queries, Data Sources, Filtering & Sorting
Topic 24 How to enhance the user interface
SDI vs MDI Applications & Coding, Parent & Child Forms, Menus & Toolbars
ToolTips & Context- Sensitive Help
Topic 25 How to deploy an application
Deployment Options, XCopy/ClickOnce/Setup Programs, DB Setup Issues
Copyright 2011 AJC Information Solutions     973.605.8373