什么是 async 和 await,你什么时候会在 Windows 开发中使用它们? [英] What is async and await and when would you use these in windows development?

查看:22
本文介绍了什么是 async 和 await,你什么时候会在 Windows 开发中使用它们?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直看到 Silverlight 中使用的关键字 async,但想知道是否有人对它是什么以及何时使用它及其好处有一个傻瓜的解释.如果您能解释一下,将不胜感激.谢谢.

I have always seen the keywords async used in Silverlight but was wondering if there is someone with a dummy's explanation of what it is and when to use it and its benefits. Please if you can explain, will be greatly appreciative. Thank you.

推荐答案

看看 这篇博文,它很好地介绍和解释了 async 和 await 是什么.

Have a look at this blog post, it gives a nice introduction and explanation of what async and await are.

如果你想真正理解它,可以看看 Jon Skeet 的系列异步并等待

If you want to really understand it, have a look at Jon Skeet's series on async and await

这篇关于什么是 async 和 await,你什么时候会在 Windows 开发中使用它们?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆