C# multithreading 🧶

  Рет қаралды 139,157

Bro Code

Bro Code

2 жыл бұрын

C# multithreading tutorial example explained
#C# #multithreading #threads
// thread = an execution path of a program
// We can use multiple threads to perform,
// different tasks of our program at the same time.
// Current thread running is "main" thread
// using System.Threading;
music credits 🎼 :
===========================================================
Up In My Jam (All Of A Sudden) by - Kubbi / kubbi
Creative Commons - Attribution-ShareAlike 3.0 Unported- CC BY-SA 3.0
Free Download / Stream: bit.ly/2JnDfCE
Music promoted by Audio Library • Up In My Jam (All Of A...
===========================================================

Пікірлер: 264
@BroCodez
@BroCodez 2 жыл бұрын
using System; using System.Threading; namespace MyFirstProgram { class Program { static void Main(string[] args) { // thread = an execution path of a program // We can use multiple threads to perform, // different tasks of our program at the same time. // Current thread running is "main" thread // using System.Threading; Thread mainThread = Thread.CurrentThread; mainThread.Name = "Main Thread"; //Console.WriteLine(mainThread.Name); Thread thread1 = new Thread(() => CountDown("Timer #1")); Thread thread2 = new Thread(() => CountUp("Timer #2")); thread1.Start(); thread2.Start(); Console.WriteLine(mainThread.Name + " is complete!"); Console.ReadKey(); } public static void CountDown(String name) { for (int i = 10; i >= 0; i--) { Console.WriteLine("Timer #1 : " + i + " seconds"); Thread.Sleep(1000); } Console.WriteLine("Timer #1 is complete!"); } public static void CountUp(String name) { for (int i = 0; i
@agoogleuser3402
@agoogleuser3402 2 жыл бұрын
Why are you uploading videos like this? Why don't make it a full course.
@girlkun7518
@girlkun7518 2 жыл бұрын
Hi! Could you make a video about topic "How to handle 2 keys pressed simultaneously in java"? Please... I'm Vietnamese and I'm really looking forward to this
@dakar_84
@dakar_84 2 жыл бұрын
@@agoogleuser3402 already
@georgebogheanu2200
@georgebogheanu2200 Жыл бұрын
Beat YT alg !
@Tecwithjawad_bahi
@Tecwithjawad_bahi Жыл бұрын
Thank u❤
@MadeoStudios
@MadeoStudios 17 күн бұрын
Welcome adventurer! Seems like you've had a long way to get here (if you didn't skip any tutorial). Relax and be happy, because you just learned how to program in C# from the best teacher ever. Seems like I have to go! I wish you luck on your next programming adventure.
@nico_qwer1732
@nico_qwer1732 Жыл бұрын
Wow. This is clear, short and so easy to understand. No obnoxious music, just plain code and explanations. Thank you!
@FollyH
@FollyH 2 жыл бұрын
Thank you for explaining this in a simple way, it's not easy to find this kind of stuff nowadays!
@sergioernestotostadosanche5700
@sergioernestotostadosanche5700 2 жыл бұрын
I only can say: WOW, YOU EXPLANATION SKILL IS SECRET LEVEL!!! Thank you for your knowledge sharing.
@ricardomartins5851
@ricardomartins5851 2 жыл бұрын
first time I ran into your channel, you explainned in 6 min what my lecturer couldn't in 2 hours! you got a new subscriber, thank you
@seekpodcast
@seekpodcast Жыл бұрын
Thank you so much. I was trying to wrap my head around multithreading as used in Sebastian Lague’s procedurally generated terrain tutorial and this helped me a ton to understand what was going on.
@Takayaki42
@Takayaki42 2 жыл бұрын
Hey Bro, keep up the good work. These 50 C# videos helped me a lot to get a grip on the language. Thank you so much!
@guillaume8437
@guillaume8437 Жыл бұрын
Bro Code! So great this video. It goes straight to the point, in a very simple manner and explains clearly the difference between with and without multithreading. Thumbs up!
@dixta
@dixta 2 жыл бұрын
Oh nice, 50 new videos! Thanks for all of the effort put into these videos
@devfaldu9216
@devfaldu9216 2 жыл бұрын
Bro you should really continue this channel. Your explanation is sooo good. C# videos of such quality are hard to find on youtube
@aba22125
@aba22125 2 жыл бұрын
OMG thank you, I've been trying to learn that async sh*t, but that wasn't what I was looking for. This was extremely, INSANELY, simple.
@AhmadEn-iu5ph
@AhmadEn-iu5ph Жыл бұрын
Since I got to know this channel, it has become my favorite channel when looking for comprehensive but concise and easy to understand programming courses! Great channel. Great content. Great teaching style. Very concise and precise and straight to the point! Thanks a lot for helping people learn to program :)
@sohairu
@sohairu 10 ай бұрын
he also finished all the courses not like stopping after uploading a few videos like other youtuebers
@shwetachavan751
@shwetachavan751 2 ай бұрын
Completed all 50 videos. Thank you so much for the course. Your explanation and examples was very easy to understand. Thank you for all the amazing videos.
@hirenjethva6122
@hirenjethva6122 6 ай бұрын
So easily explained, before this I thought of multithreading some tough concept but now the way you explained I will remember lifetime. Thank you...
@kanekiken6431
@kanekiken6431 2 жыл бұрын
Yo that's some slick explaining you did there ... thanks got the basic concept down thanks to you
@pyaewaye2928
@pyaewaye2928 3 ай бұрын
Your style of teaching is concise and clear. Wish you would also do more advanced c# topics and tutorials. I learned a lot from this. Thank you.
@linhquach8662
@linhquach8662 Жыл бұрын
Great video, thank you for explaining this in a simple way. Keep it on!
@kristijanlazarev
@kristijanlazarev 2 ай бұрын
Just finished each one of his courses, so amazing!
@davidcordero396
@davidcordero396 8 ай бұрын
Clear and simple. Thanks alot!
@IvanIvanov-ig1zx
@IvanIvanov-ig1zx 5 ай бұрын
Simple and clear lessons. Verry good! Thanks.
@jiriklokocka7371
@jiriklokocka7371 2 ай бұрын
Briliant tutorial, thank you!
@Forshen
@Forshen 9 ай бұрын
Clear, simple, to the point. thanks!
@mccordinator
@mccordinator 29 күн бұрын
Thanks for this concise run through! :)
@akshatjain7178
@akshatjain7178 2 жыл бұрын
my man just spammed the upload button dayummmm .. now i have videos to binge all night
@mamedaleskerov1507
@mamedaleskerov1507 2 жыл бұрын
Thank you for your nice and clear explanation!!!
@karlallanicsky
@karlallanicsky Жыл бұрын
Thank you for this Bro! You are very clear and direct to the point, which makes the topics easy to understand
@syllight9053
@syllight9053 2 жыл бұрын
Bro Code, ma bro. You've been cranking videos! I'm very happy for you and the other people who're gonna learn from you. I hope you got 8 hours of sleep though...
@GiveUpOrGetUp
@GiveUpOrGetUp Жыл бұрын
Thank you for explaining it very well. Was pulling hair all day to get a grasp about this topic.
@grantwilliams9838
@grantwilliams9838 10 ай бұрын
Just subscribed. Two really great vids on topics I've been literally scouring the net for weeks. Just a fluke I've come across Bro Code. Keep up the excellent work!
@yipyiphooray339
@yipyiphooray339 2 жыл бұрын
U ARE SO UNDERRATED FFS
@jkking3213
@jkking3213 2 жыл бұрын
I am glad to see you again! yo you uploaded a lot of videos!
@yasinmagan7116
@yasinmagan7116 Жыл бұрын
Great explanation in a nutshell 👏👏
@CarlosGomez-kb24
@CarlosGomez-kb24 8 ай бұрын
Thank you for the easy and quick lesson! :D
@pastub
@pastub 2 жыл бұрын
Very nice! I 'm checking all other material in this channel. Thanks!
@mythos03
@mythos03 Жыл бұрын
fantastic video series, thank you so much for your work!!!
@timmyla90
@timmyla90 Жыл бұрын
Thank you so much for explaining it so simple and easy to understand!
@sinvalfelisberto
@sinvalfelisberto Жыл бұрын
Thanks for sharing! Greetings from Brazil!
@jjherrera2b
@jjherrera2b 5 ай бұрын
Great, very helpful, thanks for sharing...
@TheScorpionAly
@TheScorpionAly 2 жыл бұрын
Awesome tutorial for beginners!
@dineshezeikel2578
@dineshezeikel2578 3 күн бұрын
Nice explanation
@Ragundah
@Ragundah 2 жыл бұрын
Liked, Subscribed, and Commented. You've earned it. You're great.
@Stellanovum
@Stellanovum Жыл бұрын
Thanks for the tutorial! It was nice and easy to understand!
@steirerdis
@steirerdis Жыл бұрын
Thank you! This short clip helped alot!
@manyfailsonewin4352
@manyfailsonewin4352 Жыл бұрын
really appreciating this channel. keep it nice and simple for us my bro.
@syllight9053
@syllight9053 2 жыл бұрын
If you ever feel lonely, remember we're your here for you, bro!
@ghaxxx8883
@ghaxxx8883 8 ай бұрын
You helped me a lot.. the best tutorial out there.. thanksss
@moisesreiter
@moisesreiter 2 жыл бұрын
Amo tus videos Bro!!! Espero puedas subir mas!!! Un abrazo desde Perú
@imperadordogado6189
@imperadordogado6189 Жыл бұрын
Simple and clear. Ty bro!
@gulbaharnecefzade367
@gulbaharnecefzade367 9 ай бұрын
Awesome🤩👍
@alexander5052
@alexander5052 Жыл бұрын
Great explanation! Thank you!!!
@minkworks6143
@minkworks6143 2 жыл бұрын
Great video. Thanks for posting.
@user-gk9fn8pu1f
@user-gk9fn8pu1f 6 ай бұрын
Thank you so much, your tutorial help me to learn a lot of new things!
@megahombre24
@megahombre24 2 жыл бұрын
This was perfect, thanks a lot!!!
@_gabrielzin_6862
@_gabrielzin_6862 2 жыл бұрын
you're amazing bro, nice video!
@monkeibusiness
@monkeibusiness 2 жыл бұрын
jesus christ my abo box, good stuff.
@stefanstrauberg6645
@stefanstrauberg6645 11 ай бұрын
Easy, fast and importantly clear 👍😎
@MahmoudSaadawy
@MahmoudSaadawy Жыл бұрын
Amazing! Please upload more C# Tutorials about real projects.
@user-yl2rz9jq1u
@user-yl2rz9jq1u 8 ай бұрын
awesome man!!
@Anuli-Edom
@Anuli-Edom Ай бұрын
Awesome work here.
@khizerhussain7613
@khizerhussain7613 Жыл бұрын
Amazing tutorial
@lezahmc75
@lezahmc75 Ай бұрын
Oh thank you!! ❤❤❤
@abdullah.nayem.enosisbd
@abdullah.nayem.enosisbd Жыл бұрын
Excellent! Thanks a lot.
@tech-zenth
@tech-zenth 7 ай бұрын
Nice example
@patrickmachado7525
@patrickmachado7525 Жыл бұрын
Awesome! Saved me hours of study!
@OnderCoskun-il8wj
@OnderCoskun-il8wj Жыл бұрын
it was good task. Congrulations Bro!
@dimitriskaitatzis9770
@dimitriskaitatzis9770 Жыл бұрын
Thank you very much. You helped me a lot with my project. I was needing a timer, running on the "background" and your tutorial helped me a lot! :)
@TheDigitalZero
@TheDigitalZero 7 ай бұрын
I know it's been 6 months, but in case you haven't discovered it yet, you can use the DateTime type to compare a stored time value with the current time.
@jimzoo5254
@jimzoo5254 7 ай бұрын
nice vedio.
@jorgesan7080
@jorgesan7080 Жыл бұрын
Good video, quick and easy ! Thanks Bro !
@ametist007
@ametist007 2 ай бұрын
Your videos are great! Many others could not help me, and despite the foreign language, I understood you perfectly
@josuecastro2244
@josuecastro2244 9 ай бұрын
Thanks dude, great video
@zypeth4634
@zypeth4634 Жыл бұрын
Thank you for this video, I am commenting to boost the algorithm and help your channel cuz im so cool like that fr fr. But thanks :D
@nikoing
@nikoing Жыл бұрын
Short but crucial... A nice video
@sahinyusifli9756
@sahinyusifli9756 Жыл бұрын
Thank you, it was so helpful!!
@freddyboyys
@freddyboyys 7 ай бұрын
superb
@anurag_droidev
@anurag_droidev 2 жыл бұрын
Thanks for all these videos they ar so helpful
@kamalpoladov5531
@kamalpoladov5531 Жыл бұрын
You are amazing. I really like your videos 👍🏻
@jeffchungwailoong
@jeffchungwailoong 2 жыл бұрын
nice explanation...
@antischoker
@antischoker Жыл бұрын
Nice Explanation. Thanks Bro :)
@reshma4524
@reshma4524 2 жыл бұрын
Thank you so much bro!
@flash11gog14
@flash11gog14 10 ай бұрын
great explanation bro!
@Golden_games
@Golden_games Жыл бұрын
Thanks for this 👍
@linus3k
@linus3k 10 ай бұрын
To the point. Easy, peasy.
@surajwagh3654
@surajwagh3654 Жыл бұрын
Superb
@vigneshkanna1636
@vigneshkanna1636 10 ай бұрын
Great work and it would be very much helpful if you could give an real time examples like were this could be used in an automation frame work or so.
@user-uk1op9nn8l
@user-uk1op9nn8l 2 ай бұрын
Well explained
@Wesley-sz8nt
@Wesley-sz8nt Жыл бұрын
Great video. Very useful.
@furkanselek
@furkanselek 9 ай бұрын
nice video, thank you
@chriss1402
@chriss1402 9 күн бұрын
well explained. Thanks.
@ciclismo1450
@ciclismo1450 2 жыл бұрын
Thank u my dood, very helpful video
@linzer-mm1fj
@linzer-mm1fj Жыл бұрын
good explanation bro
@spartanranger
@spartanranger 2 жыл бұрын
Thanks for the video Bro.
@berkekaancetinkaya8721
@berkekaancetinkaya8721 2 жыл бұрын
Extremely useful!
@ElaKro
@ElaKro Жыл бұрын
great clear video thank
@nhuyphung727
@nhuyphung727 2 жыл бұрын
Thank you so much !
@nikoloztskhvedadze4167
@nikoloztskhvedadze4167 Жыл бұрын
Good one
@natnaeltedros552
@natnaeltedros552 2 жыл бұрын
Great job
@pawloaspaja289
@pawloaspaja289 2 жыл бұрын
Thank you bro! At 5:00 it was what I was loking about. Thanks
@OtakuChamber
@OtakuChamber 2 жыл бұрын
thanks, this is very easy to understand
@rawdawg7995
@rawdawg7995 6 ай бұрын
Thank you bro bro!
C# Multithreading - Master Threads and Tasks
9:51
tutorialsEU - C#
Рет қаралды 23 М.
Маленькая и средняя фанта
00:56
Multi DO Smile Russian
Рет қаралды 2,6 МЛН
I PEELED OFF THE CARDBOARD WATERMELON!#asmr
00:56
HAYATAKU はやたく
Рет қаралды 28 МЛН
Useful Gadget for Smart Parents 🌟
00:29
Meow-some! Reacts
Рет қаралды 10 МЛН
C# generics ⁉️
5:33
Bro Code
Рет қаралды 65 М.
Multithreading in Java Explained in 10 Minutes
10:01
Coding with John
Рет қаралды 850 М.
OpenAI’s GPT-4o: The Best AI Is Now Free!
9:14
Two Minute Papers
Рет қаралды 176 М.
C# getters & setters 🔒
4:06
Bro Code
Рет қаралды 133 М.
FANG Interview Question | Process vs Thread
3:51
ByteByteGo
Рет қаралды 266 М.
Multithreading in C# NET Part 1 | C#.NET Tutorial | Mr. Bangar Raju
21:28
Naresh i Technologies
Рет қаралды 115 М.
c# (Csharp) threading interview question:- What is thread,background thread and foreground thread ?
12:16
Introduction to Threads
14:06
Neso Academy
Рет қаралды 667 М.
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 17 МЛН
Распаковка айфона в воде😱 #shorts
0:25
Mevaza
Рет қаралды 1,2 МЛН