Visual C# .NET 2003: Learning to Program

with Jesse Liberty


Course Description: This course begins with an overview of C# and the .NET platform. You will learn the fundamentals of the C# language, including how to set up the application development environment, and how to write your first simple C# applications. You will learn about variables and constants, expressions and statements, operators and namespaces, and how to create classes and instantiate objects. You will be introduced to database development with ADO.NET and building ASP.NET applications. You’ll use streams to read and write data both to your local machine and across the network and the Internet. Finally, you’ll explore interoperability with legacy COM objects such as ActiveX controls and COM components.



11+ hours of media runtime

Overview of .NET

  • The goals
  • .NET Platform
  • .NET Features
  • .NET Resources
  • .NET Processes

Working Examples

  • Getting Started
  • Basic Windows App
  • View Event Handler
  • Language Fundamentals
  • Classes, Objects, Types
  • Methods

Console Applications

  • Comments
  • Console Objects
  • Namespaces
  • Dot Operator
  • App in Notepad
  • Compile/Run
  • Visual Studio App
  • Build/Run

Variables and Constants

  • Declarations
  • Replaceable Parameters
  • Variable Assignment
  • Constants
  • Set Variables
  • Variable Usage
  • Set Enumeration

Programming Elements

  • Types
  • Strings
  • Identifiers
  • Statement/Expression
  • Whitespace

Branching Basics

  • Branch Types
  • Unconditional
  • Basic Branching
  • Return Statements
  • Local Variables
  • Debug Branch
  • Conditional/If

Switch/Iteration Statements

  • Switch Expressions
  • String to Integer
  • Switch Statements
  • Iteration Types
  • For Statements
  • Iteration Statements
  • While/Do While
  • For Loop

Operators

  • Relational
  • Mathematical
  • Logical
  • Short Circuit Eval
  • Modulus Operator
  • Prefix/Postfix
  • Test Logicals
  • Return True/False
  • Short Circuit Test

Classes/Objects

  • Access Modifiers
  • Class Methods
  • This Keyword
  • Default Constructors
  • Class Variables
  • Instantiate an Object
  • Declare an Instance
  • Add a Member Variable
  • Overload a Constructor
  • Pass in a Value
  • Review and Run

Invoking Static Methods

  • Static Members
  • Destroying Objects
  • Dispose Method

Member Variables

  • Value/Reference Types
  • Pass by Parameters
  • Pass by References
  • Pass by Values
  • Return Multiple Values
  • Out Keyword
  • Define Properties
  • Using Get and Set
  • Set a Breakpoint

Inheritance

  • Derived Classes
  • Polymorphism
  • Override Methods
  • Pass Enumerated Types
  • Class Declarations
  • Step-Through Example

Boxing/Operator Overload

  • Boxing
  • Operator Overloading
  • Type Conversion
  • Creating Type Roman
  • Computing the Value
  • Convert Integer to Roman
  • Display Results
  • Implicit Conversion
  • Explicit Conversion

Interfaces

  • Implement Interface
  • Additional Classes
  • Build Interface App
  • CreateInstance
  • Create Second Interface
  • Test Second Interface
  • Interface Properties
  • Interface Methods
  • Test Extended Interface
  • Interface as a Parameter
  • Is Keyword
  • Step Through Is Code
  • As Keyword

Arrays

  • Foreach Loop
  • Create Array
  • Iterate For/Foreach
  • Initialize Array Content

Multi-Dimensional Arrays

  • Rectangular Arrays
  • Initialize Array
  • Multi-Dimensional Issues
  • Jagged Arrays
  • Params Keyword

Indexers

  • Create Indexer
  • Create/Fill Array
  • Add Offset into Array
  • String Indexer

IEnumerable

  • Implement IEnumerator
  • IEnumerated Objects
  • Step Through Enumerator

IComparables

  • IComparable Interface
  • Utilizing IComparable
  • Custom Comparison
  • Custom IComparable
  • Runtime/Sort Choice
  • Creating Custom Compare

Collection Classes

  • Queues
  • Using Queue Class
  • Stacks
  • Using Stack Class
  • Stacks to Arrays
  • Dictionary/Hashtable
  • Using Hashtable

Strings

  • String Methods/Properties
  • StringBuilder Class
  • Regular Expressions
  • String Manipulations
  • Using Properties/Methods
  • Splitting with Strings
  • Splitting with Regex

Exceptions

  • Try/Catch/Finally
  • Throw an Exception
  • Using a Catch Block
  • Special Exception Handler
  • Finally Block
  • Using HelpLink/StackTrace

Nested Exceptions

  • Using Custom Exceptions
  • Looping Catch Blocks
  • Creating a Nesting
  • Step Through Nesting

Delegates

  • Delegating Methods
  • Implementing Delegates
  • Delegates as Parameters
  • Invoking Delegate Methods
  • Static Delegates
  • Delegates as Properties

Multicast Delegates

  • Using Multicast
  • Invoke Multiple Methods

Events

  • Sample Event Program
  • Event Handling
  • Event Notification
  • Event Classes
  • Debug Event Program
  • Register Delegate to Event
  • Add Method/Set Index
  • EventArgs Instance
  • Fire New Event
  • Add Offset/Catch Event

Windows Applications

  • Basic Window Form
  • Windows App by Hand
  • Set Event Handler
  • Save/Compile
  • Use Visual Studio.NET
  • Modify Application

Windows Forms

  • Check Box
  • Radio Buttons
  • Output Label
  • Additional Controls
  • View Code/Run

XML Comments

  • Using XML Comments
  • XML Documentation
  • XML as HTML Files

Relational Databases

  • Database Fundamentals
  • Database Components
  • Database Structure
  • SQL Server Diagrams
  • Query Analyzer
  • Building Queries
  • Refining Information

ADO.NET Objects

  • Object Model
  • Data Objects
  • Create ADO Applications
  • SqlDataAdapter
  • ListBox
  • OleDbDataAdapter

Data Relationships

  • DataGrids in ADO
  • SqlConnection Object
  • SQLCommand Object
  • DataAdapter
  • Populate DataGrid
  • Relating Data
  • DataRelation Object
  • Test/Debug ADO App
  • Use Debug Tools
  • Show Order Details

Updates

  • Populate ListBox
  • Update Displayed Data
  • Update Drop-Down Menu
  • Update Database Data
  • Update Multiple Tables

Transactions

  • Stored Procedures
  • Use Stored Procedures
  • Pass Parameters
  • Transaction Support
  • Connection Transaction
  • Commit/Rollback

Update Using DataAdapter

  • DataSet Method
  • Map Column Names
  • Update with ADO.NET
  • Update with DataAdapter

Concurrency

  • Sproc
  • Params for Concurrency
  • ADO.NET w/Concurrency
  • CommandBuilder

Web Forms

  • ASP.NET Web App
  • Add Label/Button
  • Run Web App
  • Controls
  • ASP.NET Events
  • DataGrid Controls
  • Bind DataGrid
  • Event Handling TableCells
  • Create New Method
  • Create DataRowView
  • Extract DataItem

Attributes

  • Attribute Targets
  • Custom Attributes
  • Create Custom Attributes
  • Use Attributes
  • Named Attributes
  • ILDasm

Reflections

  • Array of Attributes
  • Discovery

Streaming Data

  • Explore Directory
  • Read/Write Streams
  • Buffered Stream
  • StreamReader/Writer

Asynchronous I/O

  • Callback Delegate
  • Test Constructor
  • Buffers/Token
  • Buffering at Work
  • HttpWebRequest
  • Read Page from Web
  • Web Streaming Objects

Network I/O

  • Network I/O
  • Sockets/Ports
  • Support Network I/O
  • Server Side
  • Client Side
  • Server/Client Interaction
  • Client Handler
  • Asynch Read/Write
  • Send Text String
  • Asynch File Read
  • Asynch File Streaming

Serialization

  • Binary Serialization
  • Serialize to Disk
  • Deserialize
  • Nonserialized Option

ActiveX

  • Create ActiveX Control
  • Create VB Project
  • ActiveX Event Handler
  • Create .NET Project
  • Register Control
  • Add Control to Toolbox
 

Get our entire learning library

ONLY

$99
.99
per year

Visual Studio, ASP.NET, SQL, SharePoint and more...
  • 3,400+ video tutorials
  • Microsoft MVP's and experts
  • Future video releases FREE
  • 100% money-back guarantee


Not ready to buy? Try now