C# Multithreading Basics
C# Multithreading Basics, available at $44.99, has an average rating of 4.65, with 15 lectures, based on 24 reviews, and has 2287 subscribers.
You will learn about Learn concepts of different threading models Learn how to avoid UI being blocked by codes Run tasks in background using BackgroundWorkers Update data to UI using Dispatcher and Data binding Run tasks in multiple threads using Thread class Run tasks in multiple threads using Task class Run tasks asynchronously using async and await Run lots of tasks concurrently using Parallel programming This course is ideal for individuals who are Any C# developer who wants to have a clear concept of multi-threading It is particularly useful for Any C# developer who wants to have a clear concept of multi-threading.
Enroll now: C# Multithreading Basics
Summary
Title: C# Multithreading Basics
Price: $44.99
Average Rating: 4.65
Number of Lectures: 15
Number of Published Lectures: 15
Number of Curriculum Items: 15
Number of Published Curriculum Objects: 15
Original Price: $24.99
Quality Status: approved
Status: Live
What You Will Learn
- Learn concepts of different threading models
- Learn how to avoid UI being blocked by codes
- Run tasks in background using BackgroundWorkers
- Update data to UI using Dispatcher and Data binding
- Run tasks in multiple threads using Thread class
- Run tasks in multiple threads using Task class
- Run tasks asynchronously using async and await
- Run lots of tasks concurrently using Parallel programming
Who Should Attend
- Any C# developer who wants to have a clear concept of multi-threading
Target Audiences
- Any C# developer who wants to have a clear concept of multi-threading
I think that most of us programmers start developing applications in single threaded mode. Which means that tasks or actions defined in this application will be executed in a certain predefined sequence. But at some point, we need to start tasks simultaneously and to be completed asynchronously in order to save execution time and to boost up performance.
Here is an example. You need to compare the execution speed of two tasks. In a single threaded program you have to perform the speed measurement tasks one after another, then compare the time difference at the end of when both tasks are done. Let’s say Task A needs 30 seconds and Task B needs only 0.5 second. Therefore, if you start Task B after Task A, you won’t see Task B to be completed until Task A is finished.
If we do it in a multithreaded mode, then no matter which task first, we can always see Task B to be finished in 0.5 second while Task A is still running. And if we use the right multi-threading technique, Task A might not even need 30 seconds to run. This is the beauty of multi-threading programming.
For the time being, there are several multi-threading techniques available in C# and .Net. Including Thread, ThreadPool, Task, TaskFactory, Task Run, BackgroundWorker, asyncand await, Parallel.For/Parallel.ForEach… Wow! So overwhelming!
Don’t worry, this two-hour long course provides you a very good insight on when to use what. Topics that will be mainly covered including the followings:
-
Problems with single threaded application
-
Basics of mult-threading model of C#
-
The BackgroundWorker
-
Use Dispatcher to update UI in progress
-
Thread and ThreadPool
-
TPL (1) – Task. Run and Task. Factory
-
TPL (2) – async and await
-
TPL (3) – Parallel programming
And the sample being used in this course is quite interesting as well. We are going to compare the speed of concatenating a string 50,000 times by using a string type variable and a StringBuilder type variable, respectively. You will be surprised at the performance that they yield.
Even though this course just brings you the basic concept of .Net’s multithreading techniques, the codes introduced in this course should be useful enough in your real world projects. Hope you enjoy this course.
Course Curriculum
Chapter 1: Introduction
Lecture 1: Introduction
Lecture 2: About the tutor
Lecture 3: Install Visual Studio 2022 Community
Lecture 4: Source Code Download
Chapter 2: Single Threaded Application
Lecture 1: Create the WPF App UI
Lecture 2: Sample App in Single Threaded Mode
Lecture 3: Why is StringBuilder efficient than String?
Chapter 3: Multi-Threaded Application
Lecture 1: Multi-Threading Model of C#
Lecture 2: The BackgroundWorker
Lecture 3: Update UI with Dispatcher and Data Binding
Lecture 4: Thread and ThreadPool
Lecture 5: TPL (1) – Task.Run and Task.Factory
Lecture 6: TPL (2) – async and await
Lecture 7: TPL (3) – Parallel programming
Chapter 4: What's next?
Lecture 1: What's next?
Instructors
-
Tom Liao
Experienced IT Developer and Instructor
Rating Distribution
- 1 stars: 0 votes
- 2 stars: 0 votes
- 3 stars: 2 votes
- 4 stars: 8 votes
- 5 stars: 14 votes
Frequently Asked Questions
How long do I have access to the course materials?
You can view and review the lecture materials indefinitely, like an on-demand channel.
Can I take my courses with me wherever I go?
Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!
You may also like
- Top 10 Language Learning Courses to Learn in November 2024
- Top 10 Video Editing Courses to Learn in November 2024
- Top 10 Music Production Courses to Learn in November 2024
- Top 10 Animation Courses to Learn in November 2024
- Top 10 Digital Illustration Courses to Learn in November 2024
- Top 10 Renewable Energy Courses to Learn in November 2024
- Top 10 Sustainable Living Courses to Learn in November 2024
- Top 10 Ethical AI Courses to Learn in November 2024
- Top 10 Cybersecurity Fundamentals Courses to Learn in November 2024
- Top 10 Smart Home Technology Courses to Learn in November 2024
- Top 10 Holistic Health Courses to Learn in November 2024
- Top 10 Nutrition And Diet Planning Courses to Learn in November 2024
- Top 10 Yoga Instruction Courses to Learn in November 2024
- Top 10 Stress Management Courses to Learn in November 2024
- Top 10 Mindfulness Meditation Courses to Learn in November 2024
- Top 10 Life Coaching Courses to Learn in November 2024
- Top 10 Career Development Courses to Learn in November 2024
- Top 10 Relationship Building Courses to Learn in November 2024
- Top 10 Parenting Skills Courses to Learn in November 2024
- Top 10 Home Improvement Courses to Learn in November 2024