隐式和显式调用有什么区别? [英] what is the difference between the Implicit and Explicit Calling?

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

问题描述

大家好,

谁能告诉我方法的显式和隐式调用之间有什么区别?
就像我们在界面上放置光标并按 ِAlt+Shift+F10一样,我们将能够看到两个选项.请参见以下示例

Hi all,

Can any one tell me what is the difference between the explicit and implicit calling of a method?
Like when we put cursor and press ِAlt+Shift+F10 on the Interface we will be able to see the two options.See this example

class TestInterface : IFirst, ISecond
   {
       static void Main(string[] args)
       {

       }
   }

推荐答案

很好的问题...我的5个问题...
我在谷歌上搜索了一下,发现那里有两个很好的链接.您可能需要阅读
1. http://stackoverflow.com/questions/143405/c-interfaces-implicit- and-explicit-implementation [ ^ ]
2. http://stackoverflow.com/questions/2806001/c-call-interface- method-within-class [ ^ ]
3. http://kavachai.com/2011/01/26/implicit -and-explicit-implementation-of-interface/ [ ^ ]

希望这会有所帮助.
一切顺利.
Very good question... My 5 for that...
I googled a bit and found two very nice links there. You may want to read that
1. http://stackoverflow.com/questions/143405/c-interfaces-implicit-and-explicit-implementation[^]
2. http://stackoverflow.com/questions/2806001/c-call-interface-method-within-class[^]
3.http://kavachai.com/2011/01/26/implicit-and-explicit-implementation-of-interface/[^]

Hope this helps.
All the best.


这篇关于隐式和显式调用有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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