C# Programming: 3
Develop skills in designing and writing C# computer programs.
C# Programming: 3
Develop skills in designing and writing C# computer programs.
What you’ll be able to do — competencies
- Use the File class to display specific file information
- Create a generic class, and then revise an existing client class to use the new generic class
- Set up a class that will raise an event to the subscriber when a specific situation occurs, and set up the subscriber to employ a given action when the event occurs
- Set up parallel programming in a multi-threaded application using the Task Parallel Library (TPL)
Course description
Build your skills of C# programming in a Console environment using Visual Studio. Develop skills in designing and writing C# computer programs using file processing, generics, delegates, events, asynchronous programming and multi-threading using the Task Parallel Library. Get hands-on practice with applying these programming concepts by creating new code and revising existing code.
Prerequisites
- C# Programming 2 or equivalent knowledge
Syllabus
Use the File class to display specific file information.
- Use the File class to access the drives on the computer
- Use the File class to access directories and files
- Use the File class to locate, open and read a specific type of file
- Run unit tests against an application
Create a generic class, and then revise an existing client class to use the new generic class.
- Create and use a generic class
- Apply generic constraints to control the type and contents of the generic parameter type
- Implement a generic interface into a generic class
Set up a class that will raise an event to the subscriber when a specific situation occurs, and set up the subscriber to employ a given action when the event occurs.
- Declare and use a delegate referencing existing and anonymous methods
- Implement a callback using a delegate
- Implement a multicast delegate containing references to methods that return a value
- Apply covariance and contra variance when using a delegate
- Implement a generic delegate into a generic class
- Declare and use an event that contains a reference to a custom EventArgs class
Set up parallel programming in a multi-threaded application using the Task Parallel Library (TPL).
- Create and use a delegate to invoke a method asynchronously
- Create a multi-threaded application without having to create threads using the TPL library
- Implement Task parallelism using the TPL library
- Implement exception handling in multi-threaded applications using the TPL library
Next available start dates
We aren’t currently offering this course, but we do update our course offerings on a regular basis. Please check back or browse our catalog for more courses that may be available now.
Interested in custom learning solutions for your team?
Tombolo Institute Corporate Solutions offers tailor-made professional development programs to meet your organization’s goals.
Get started