C# Multithreading - Master Threads and Tasks

  Рет қаралды 25,424

tutorialsEU - C#

tutorialsEU - C#

Күн бұрын

🔥 ASYNCHRONOUS and MULTITHREADING! Boost your apps PERFORMANCE and build SCALABLE APPS!
🚀 C# Progress Academy - Become a job-ready C# and Angular web developer to land your dream developer role: bit.ly/45vbPUg
We'll make sure to turn you into a true developer in no time!
Timestamps:
00:00 Introduction
00:15 Seeing multithreading in action
01:49 Let´s set up multithreading ourselves using TASK
04:55 This is how you can learn everything there is about asynchronous programming
05:19 Tools for managing your tasks and threads: Diagnostic, Threads, and parallel stacks
09:27 Thanks for watching!
C# Multithreading - Master Threads and Tasks
So, what is C#?
C# (pronounced "See Sharp") is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.
C# is an object-oriented, component-oriented programming language. C# provides language constructs to directly support these concepts, making C# a natural language in which to create and use software components. Since its origin, C# has added features to support new workloads and emerging software design practices. At its core, C# is an object-oriented language. You define types and their behavior.
And what is multithreading?
With .NET, you can write applications that perform multiple operations at the same time. Operations with the potential of holding up other operations can execute on separate threads, a process known as multithreading or free threading.
Applications that use multithreading are more responsive to user input because the user interface stays active as processor-intensive tasks execute on separate threads. Multithreading is also useful when you create scalable applications because you can add threads as the workload increases.
And what is asynchronous programming?
The Task asynchronous programming model (TAP) provides an abstraction over asynchronous code. You write code as a sequence of statements, just like always. You can read that code as though each statement completes before the next begins. The compiler performs many transformations because some of those statements may start work and return a Task that represents the ongoing work.
That's the goal of this syntax: enable code that reads like a sequence of statements, but executes in a much more complicated order based on external resource allocation and when tasks are complete. It's analogous to how people give instructions for processes that include asynchronous tasks. Throughout this article, you'll use an example of instructions for making breakfast to see how the async and await keywords make it easier to reason about code that includes a series of asynchronous instructions.
To learn more, make sure to watch the video, and we promise you that you'll become a better developer by the end of the video! Have fun!
And thank you LAKEY INSPIRED for these amazing songs that we use in all our videos! @LAKEYINSPIRED
#csharp #coding #tutorial #learn #microsoft #net #multithread #async
TAGS
c#,.net,c-sharp,csharp,programming,visual studio,c sharp,learn c#,c# programming,c# tutorial,c# for beginners,learn c# programming,c# course,tutorial,coding,c# multithreading,async,thread,multithreading,threading,multithreading fundamentals,threads and multithreading,c# one thread,c# async,how to,core,software engineering,code,task,async await,asynchronous programming,await,await async,c# asynchronous programming,async tutorial,asynchronous,shorts,react
TutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x
C#: / @tutorialseuc
Facebook: / tutorialseu-1093802040...
LinkedIn: / tutorialseu
Discord: / discord

Пікірлер: 11
@tutorialsEUC
@tutorialsEUC 9 ай бұрын
🚀 C# Progress Academy - Become a job-ready C# and Angular web developer to land your dream developer role: bit.ly/45vbPUg
@udaysuddhala3512
@udaysuddhala3512 Жыл бұрын
Explanation is crystal clear!! Thank you so much😊😊
@yess.6558
@yess.6558 5 ай бұрын
Great Video! Thank you!
@ahmedhegy8186
@ahmedhegy8186 Жыл бұрын
Great explanation 👍 I am wondering what if we use await what would change ?
@abedja100
@abedja100 Жыл бұрын
very impressive!!!! I would like to ask you which tools you used for the autocomplete? Thank you
@abedja100
@abedja100 Жыл бұрын
??
@samalcosser1274
@samalcosser1274 11 ай бұрын
He’s using an IDE called Visual Studio. The community version is free
@dmbrv
@dmbrv Жыл бұрын
nice video
@tutorialsEUC
@tutorialsEUC Жыл бұрын
Thanks
@abbaskhan.786
@abbaskhan.786 2 ай бұрын
When the if condition becomes false, then the task is skipped, but the task should not be skipped until the condition becomes true.
@khSoraya01
@khSoraya01 Ай бұрын
more explanation please
C# Yield - Creating Iterators for beginners
5:52
tutorialsEU - C#
Рет қаралды 7 М.
What are ASYNC and AWAIT in C#? Asynchronous Programming Tutorial
18:34
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 27 МЛН
Thread → Task. Многопоточность и Асинхронность
13:39
Архитектор ПО. Александр Желнин
Рет қаралды 27 М.
That's NOT How Async And Await Works in .NET!
12:25
Codewrinkles
Рет қаралды 14 М.
A Simpler Way to See Results
19:17
Logan Smith
Рет қаралды 95 М.
Master Multithreading : Thread Pool In C++
20:19
CppNuts
Рет қаралды 6 М.
Object Oriented Programming is Good | Prime Reacts
31:30
ThePrimeTime
Рет қаралды 284 М.
Should you learn C++?? | Prime Reacts
20:29
ThePrimeTime
Рет қаралды 313 М.
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 308 М.