Replied
@simplydev personally i dont usually use lists all the time
Replied
Isn't this code from a tutorial?
Cancel
Post
Random quote here...
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 ?
Cancel
Post
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
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
Cancel
Post
fka as delta
Replied
Yes I Appreciate your response Delta but Im wondering in this case What Use Has Putting Task.Delay instead Of Thread.Sleep ?
Cancel
Post
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
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post