VB和C#中的事件有什么区别? [英] What is the difference between events in VB and C#?

查看:156
本文介绍了VB和C#中的事件有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一个VB程序员,我的方式进入C#。我学习了如何在vb中创建和引发事件,并发现在C#中没有完成相同的操作。有人会碰到一篇文章,这将帮助我了解如何在C#中做事情,也许可以解释为什么它在VB中是不同的。



谢谢

解决方案

这是否有帮助?



VB.NET与C# - 代表/事件


I am a VB programmer working my way into C#. I learned how to create and raise events in vb and am finding that it isnt done the same way in C#. Has anybody come across an article that will help me to understand how to do events in C# and maybe explain why it is different in VB.

Thanks

解决方案

Does this help?

VB.NET vs. C# - Delegates / Events

这篇关于VB和C#中的事件有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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