2 Day Classroom Course
Study materials included
Skills You will have at the end of the Course
Create well structured Classes and Interfaces.
Correct use of Inheritance.
Accessing databases with ADO .NET
This two day course teaches programming the C# language, explaining data types, control statements, objects and classes, exception handling and writing components. The course concentrates on teaching the C# language and elements of standard .NET Framework Class Library, Structs and other data types.
This course assumes that attendees have previous programming experience in a language such as Microsoft Visual Basic, Visual C++ or JAVA.
At the end of the course, you’ll be Certified by the Irish Academy of Computer Training
Who would benefit
A developer moving to C# from another language.
Why take the Course
If you want to get a jump start in using C#. The course encourages the good design and implementation of classes.
Section 1 : Introduction to C# and .NET
C# described. The origins of C# and its relationship to C++, Visual Basic and Java. The .NET framework and .NET runtime. Language interoperability. Building your first C# application.
Section 2 : Language Basics
Data types (types, pre-defined types and arrays). The String and StringBuilder classes. Enumerations. Structures. Control statements (‘if’, ‘switch’, ‘while’, ‘do’, ‘for’, ‘foreach’, ‘break’, ‘return’ etc). Operators and expressions. Reference and Value Types. Type system unification and boxing.
Section 3 : Classes, Structs, Interfaces and Inheritance
Classes and namespaces. Creating objects. The ‘using’ keyword. The ‘this’ keyword. Class members – fields, methods, properties and events. Overloaded methods. Static class members. Static Classes. Garbage collection and reference counting. Inheritance. Access modifiers. Class conversions, polymorphism and virtual function members. Abstract classes and abstract members. Defining and using Interfaces. Partial Types. Constructors, destructors and finalizers. Attribute programming and using predefined attributes in code.
Section 4 : Exception Handling
Checked and unchecked statements. Catching with ‘try’ and ‘catch’. Cleaning up with ‘try’ and ‘finally’. Using ‘try’, ‘catch’ and ‘finally’ altogether. Throwing exceptions. Deriving from the Exception class.
Section 5 : Debugging
Creating a debug version of your application. Setting break points. Stepping through your program. Managing exception handling.
Section 6 : Accessing databases with ADO.NET
Using ADO.NET to connect to database such as Microsoft SQL Server. Using the DataSet, SqlConnection, SqlCommand and SqlDataReader classes.
Section 7 : Collections
Overview of collection classes. Iterating over collections. Predefined collection classes (eg. Array, ArrayList, Hashtable, SortedList, StringCollection and StringDictionary). Generic Collections.
Section 8 : Streams and IO
Streams and backing stores. The abstract Stream class. Concrete stream derived classes. The BinaryReader and BinaryWriter classes.TextReader and TextWriter classes. StreamReader and StreamWriter classes. Working with directories and files. Using Isolated Storage.
Section 9 : Creating components
Building the component. Creating a simple client application. Working with namespaces. COM interoperability. Exposing .NET runtime objects to COM. Registering .NET components for use with COM.
Section 10 : Configuration and Deployment
Conditional compilation. Adding documentation comments in XML. Deployment.
Section 11 : Assemblies and Modules
Elements of an assembly. Scoping types and type references. Naming and signing assemblies. Resolving and loading assemblies.
For Dates, Pricing & more info, please enter your details and we'll get back to you quickly.
Or call us on 01 434 7600
*Required info. We treat your data with care, please see our Privacy Notice for more details