Introduction to C# Programming - duration 3 days
This course provides a comprehensive introduction to the C# programming language. It starts with the basics of the language, such as variables, data types, and program control statements, then moves onto writing object-oriented code and accessing databases via Microsoft’s ADO.NET technology. Exercises and examples are used throughout the course to give practical hands-on experience with the topics covered.
Prerequisites: Any previous experience in other programming languages will be useful, but is not required.
THE .NET FRAMEWORK
COMMON LANGUAGE RUNTIME (CLR)
.NET ADVANTAGES
THE FRAMEWORK CLASS LIBRARY
COMPILING CODE
.NET VERSIONS
THE VISUAL STUDIO INTEGRATED DEVELOPMENT ENVIRONMENT (IDE)
EXPRESS EDITIONS
OVERVIEW OF THE IDE
MAIN IDE WINDOWS
STRUCTURE OF A C# PROGRAM
STATEMENTS AND BLOCKS
ADDING COMMENTS
WHITESPACE
BASIC INPUT/OUTPUT OPERATIONS
THE CONSOLE CLASS
USING VARIABLES AND CONSTANTS
DECLARING VARIABLES
NAMING VARIABLES
DATA TYPES
WORKING WITH STRINGS
CONVERTING BETWEEN DATA TYPES
SYSTEM.OBJECT
BOXING
DEFINITE ASSIGNMENT
SCOPE
CONSTANTS
ENUMERATIONS
EXPRESSIONS AND OPERATORS
ASSIGNMENT OPERATOR
ARITHMETIC OPERATORS
COMPARISON OPERATORS
BOOLEAN LOGICAL OPERATORS
TERNARY OPERATOR
BITWISE OPERATORS
SHORTCUT OPERATORS
IS OPERATOR
AS OPERATOR
PROGRAM CONTROL STATEMENTS
USING THE IF STATEMENT
USING THE SWITCH STATEMENT
USING LOOP STATEMENTS
JUMP STATEMENTS
EXCEPTIONS
HANDLING BASIC EXCEPTIONS
THE EXCEPTION OBJECT
USING MULTIPLE CATCH BLOCKS
EXCEPTION PROPAGATION
CREATING AND THROWING EXCEPTIONS
CREATING CUSTOM EXCEPTIONS
CHECKING FOR ARITHMETIC OVERFLOW AND UNDERFLOW
ERROR LOGGING
ARRAYS
OVERVIEW OF ARRAYS
CREATING ARRAYS
USING ARRAYS
MULTI-DIMENSIONAL ARRAYS
WORKING WITH CLASSES
OBJECT-ORIENTED PRINCIPLES
TERMINOLOGY
DECLARING A CLASS
CREATING OBJECTS
USING METHODS
DEFINING METHODS
CALLING METHODS
VARIABLE HIDING AND ‘THIS’ OPERATOR
PASSING PARAMETERS BY VALUE AND BY REFERENCE
OUT PARAMETER
PARAMETER ARRAYS
ACCESS MODIFIERS
METHOD OVERLOADING
CONSTRUCTORS
CLASS ACCESS MODIFIERS
DESTRUCTORS 108
CONST AND READONLY MEMBERS
STATIC MEMBERS
STATIC CONSTRUCTORS
STATIC CLASSES
DEFINING PROPERTIES
INDEXERS
SYSTEM.OBJECT
STRUCTS
COMPOSITION
INHERITANCE
DERIVING CLASSES
POLYMORPHISM
OVERRIDING METHODS
POLYMORPHIC PROPERTIES
ABSTRACT CLASSES AND METHODS
SEALED CLASSES AND METHODS
HIDING CLASS MEMBERS
SYSTEM.OBJECT METHODS
INTERFACES
GENERICS
DELEGATES
LAMBDA EXPRESSIONS
INTRODUCTION TO ACCESSING DATABASES VIA ADO.NET
ADO.NET COMPONENTS
CREATING A DATABASE FORM WITHOUT WRITING ANY CODE
CONNECTING TO DATABASES
USING THE COMMAND OBJECT
USING THE DATAADAPTER
DEBUGGING WITH VISUAL STUDIO
SETTING BREAKPOINTS
STEPPING THROUGH CODE
DEBUGGING WINDOWS
Introduction To C# Programming - Duration 3 Days
Introduction to C# Programming - duration 3 days
This course provides a comprehensive introduction to the C# programming language. It starts with the basics of the language, such as variables, data types, and program control statements, then moves onto writing object-oriented code and accessing databases via Microsoft’s ADO.NET technology. Exercises and examples are used throughout the course to give practical hands-on experience with the topics covered.
Prerequisites: Any previous experience in other programming languages will be useful, but is not required.
THE .NET FRAMEWORK
COMMON LANGUAGE RUNTIME (CLR)
.NET ADVANTAGES
THE FRAMEWORK CLASS LIBRARY
COMPILING CODE
.NET VERSIONS
THE VISUAL STUDIO INTEGRATED DEVELOPMENT ENVIRONMENT (IDE)
EXPRESS EDITIONS
OVERVIEW OF THE IDE
MAIN IDE WINDOWS
STRUCTURE OF A C# PROGRAM
STATEMENTS AND BLOCKS
ADDING COMMENTS
WHITESPACE
BASIC INPUT/OUTPUT OPERATIONS
THE CONSOLE CLASS
USING VARIABLES AND CONSTANTS
DECLARING VARIABLES
NAMING VARIABLES
DATA TYPES
WORKING WITH STRINGS
CONVERTING BETWEEN DATA TYPES
SYSTEM.OBJECT
BOXING
DEFINITE ASSIGNMENT
SCOPE
CONSTANTS
ENUMERATIONS
EXPRESSIONS AND OPERATORS
ASSIGNMENT OPERATOR
ARITHMETIC OPERATORS
COMPARISON OPERATORS
BOOLEAN LOGICAL OPERATORS
TERNARY OPERATOR
BITWISE OPERATORS
SHORTCUT OPERATORS
IS OPERATOR
AS OPERATOR
PROGRAM CONTROL STATEMENTS
USING THE IF STATEMENT
USING THE SWITCH STATEMENT
USING LOOP STATEMENTS
JUMP STATEMENTS
EXCEPTIONS
HANDLING BASIC EXCEPTIONS
THE EXCEPTION OBJECT
USING MULTIPLE CATCH BLOCKS
EXCEPTION PROPAGATION
CREATING AND THROWING EXCEPTIONS
CREATING CUSTOM EXCEPTIONS
CHECKING FOR ARITHMETIC OVERFLOW AND UNDERFLOW
ERROR LOGGING
ARRAYS
OVERVIEW OF ARRAYS
CREATING ARRAYS
USING ARRAYS
MULTI-DIMENSIONAL ARRAYS
WORKING WITH CLASSES
OBJECT-ORIENTED PRINCIPLES
TERMINOLOGY
DECLARING A CLASS
CREATING OBJECTS
USING METHODS
DEFINING METHODS
CALLING METHODS
VARIABLE HIDING AND ‘THIS’ OPERATOR
PASSING PARAMETERS BY VALUE AND BY REFERENCE
OUT PARAMETER
PARAMETER ARRAYS
ACCESS MODIFIERS
METHOD OVERLOADING
CONSTRUCTORS
CLASS ACCESS MODIFIERS
DESTRUCTORS 108
CONST AND READONLY MEMBERS
STATIC MEMBERS
STATIC CONSTRUCTORS
STATIC CLASSES
DEFINING PROPERTIES
INDEXERS
SYSTEM.OBJECT
STRUCTS
COMPOSITION
INHERITANCE
DERIVING CLASSES
POLYMORPHISM
OVERRIDING METHODS
POLYMORPHIC PROPERTIES
ABSTRACT CLASSES AND METHODS
SEALED CLASSES AND METHODS
HIDING CLASS MEMBERS
SYSTEM.OBJECT METHODS
INTERFACES
GENERICS
DELEGATES
LAMBDA EXPRESSIONS
INTRODUCTION TO ACCESSING DATABASES VIA ADO.NET
ADO.NET COMPONENTS
CREATING A DATABASE FORM WITHOUT WRITING ANY CODE
CONNECTING TO DATABASES
USING THE COMMAND OBJECT
USING THE DATAADAPTER
DEBUGGING WITH VISUAL STUDIO
SETTING BREAKPOINTS
STEPPING THROUGH CODE
DEBUGGING WINDOWS