Forum > Coding >

[REL]Open Source Bootstrapper

TERIHAX

i say im gay as a joke 🙀

Posts: 1789

Threads: 92

Joined: Jul, 2020

Reputation: 30

Replied

@simplydev personally i dont usually use lists all the time

  • 0

Posts: 1590

Threads: 166

Joined: Apr, 2021

Reputation: 13

Replied

Isn't this code from a tutorial?

  • 0

Random quote here...

Posts: 114

Threads: 26

Joined: Dec, 2019

Reputation: 3

Replied

I know this is a stupid question im just trying to learn but What is the difference and why would you use Task.Delay and not Thread.Sleep ?

  • 0

Know c# and trying to expand my knowledge in it.

Rep Goal [1,2,3,4,5,6,7,8,9,10]Rickrolled Talan2016 : https://cdn.discordapp.com/attachments/852018376368979974/852033650593497128/unknown.png

ecstacy_lxnny

fka as delta

contentCreator

Posts: 764

Threads: 69

Joined: May, 2021

Reputation: 95

Replied

@Beastsploits Thread.Sleep puts the application into sleep mode in which you cant do things in it, also while in sleep mode if you click the application it is gonna go not responding untill the sleep mode is over (Goes not responding cuz yes its sleeping)

 

On the other hand await Task.Delay just makes it wait for a specific period of time between two tasks and during this time u can still do things on the application

  • 0

fka as delta

Posts: 114

Threads: 26

Joined: Dec, 2019

Reputation: 3

Replied

Yes I Appreciate your response Delta but Im wondering in this case What Use Has Putting Task.Delay instead Of Thread.Sleep ?

  • 0

Know c# and trying to expand my knowledge in it.

Rep Goal [1,2,3,4,5,6,7,8,9,10]Rickrolled Talan2016 : https://cdn.discordapp.com/attachments/852018376368979974/852033650593497128/unknown.png

Prev

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )