Objectives of the training
Understand how object-oriented programming works, using the C# language of the Microsoft .NET Framework.Targeted audience
Developers.Prerequisite
Programming experience is recommended but not required.Trainers
Benefits for Participants
- Develop high-performance, scalable applications with C# and .NET.
- Optimize your productivity with Visual Studio's integrated tools.
- Efficiently handle databases with ADO.NET and Entity Framework.
- Identify and resolve errors quickly for reliable applications.
- Create modular, reusable applications with inheritance and polymorphism.
Course architecture
An in-depth look at the object-oriented aspects of object programming. This course provides a powerful introduction to the fascinating world of the .NET Framework, enabling you to fully understand and use the tools provided by the language. Using C#, you'll be able to build applications that make full use of the integrated features of the Microsoft platform.
Introduction to Visual Studio
- Project and solution concepts
- The form designer
- Code editor
- Solution explorer
- Project properties
Form programming
- Creating a form project and library
- Form design
- Form navigation
- Standard nomenclature
- Introduction to object-oriented programming
- Properties, methods and events
- IntelliSense, comments and syntax errors
- Exception assistant and debugging runtime errors
Numeric data and strings
- Built-in value types
- Initialization and declaration of variables and constants
- Naming conventions
- Assignment operators
- Implicit and explicit casting
- Common methods
- Concatenation and special characters
- Number formatting
- Lifetime and visibility
- Enumerations and binary operations
- Nullable types
Programming control structures
- Relational operators
- Logical operators
- Conditional commands
- Loops
- Use of "break" and "continue
Programming methods and events
- Creating methods
- Passing parameters by reference or by value
- Creating and using events
- Using anonymous methods
Exception handling
- Use of try, catch, finally
- Using debugging windows
- Creating custom exception classes
Using arrays and collections
- One-dimensional arrays
- Rectangular arrays
- The Array class
- Conditional null operator
- Common collections
- Typed and untyped collections
Dates and strings
- Date and time calculation
- Using TimeSpan
- Using the String class and Char
- The StringBuilder class
- Date formatting
- Interpolated strings
Debugging applications
- The call stack
- Error list
- Breakpoints
- Variable windows
- Step-by-step execution
Creating and using classes
- Application architecture
- Creating a base class
- Creating a derived class
- Instantiating a class
- Static classes, methods and properties
Inheritance and polymorphism
- Adding properties and methods
- Replacing methods
- Using "Protected" and "Internal
- Using "Abstract" and "Override
- Using polymorphism with base classes
Interfaces and generics
- Implementing various interfaces
- Using polymorphism with interfaces
- Using generics
Data sources and datasets
- DataSet and DataTable
- Using the SQL data provider
- Modifying data in offline mode
- Rapid prototyping of form-based access to a data table
- Binding controls to data
ADO.NET and data access
- Coding SQL queries using the System.Data.SQLClient namespace
- Form programming to manipulate data from a filter
- Using SqlDataReader
LINQ and Entity Framework
- Defining a LINQ query
- Using Lambda expressions
- Expressions using LINQ and generics
- Using a delegate
- Creating extension methods
Entity Framework
- Using the NuGET platform
- Installing the Entity Framework (EF)
- Reviewing the conceptual model, registration and data mapping
- Programming a form with EF
File system
- Review of System.IO
- Creating files
- Reading and writing files
- Creating a mini-notepad
Private or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quotePrivate or personalized training
If you have more than 8 people to sign up for a particular course, it can be delivered as a private session right at your offices. Contact us for more details.
Request a quote