在c#接口中使用函数重载或默认参数 [英] Using Function Overloading or Default Paramters in c# interface

查看:156
本文介绍了在c#接口中使用函数重载或默认参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1.如何在C#4.0接口中使用函数重载?
2.如何在C#4.0接口中使用默认参数?

1. How to use Function Overloading in C# 4.0 interface?
2. How to use default parameters in C# 4.0 interface?

推荐答案

通过简单的谷歌搜索,我发现了这个

http://stackoverflow.com/questions/3316402/method-overloading-vs-optional-parameter-in-c-sharp-4-0 [
With simple googling I found this

http://stackoverflow.com/questions/3316402/method-overloading-vs-optional-parameter-in-c-sharp-4-0[^]


Hope this helps , If yes then plz accept and vote the answer. Any queries / questions on this are always welcome.

Thanks & Regards
RDBurmon.Sr.Software Engineer


这篇关于在c#接口中使用函数重载或默认参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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