我们如何在现实世界的编程中使用接口 [英] how we use interfaces in real world programming

查看:63
本文介绍了我们如何在现实世界的编程中使用接口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





请问有人告诉我们如何以及何时在asp.net中使用接口c#

就像我们想要的那样创建登录编码然后我想知道我们如何在我的asp.net c#编程中生成和使用ILogin接口。

请一些人告诉我们如何在类文件中为ILogin接口创建代码。 br $>


谢谢



Pls some one tell that how and when we use interfaces in class in asp.net c#
like we want to create a login coding then i want to know how we generate and use ILogin interface in my asp.net c# programming.
Pls some one tell that how we create code in class file for ILogin Interface.

Thanks

推荐答案

请参阅

接口实时示例


查看此



http://drupal.org/node/308629 [ ^ ]


.NET不直接支持多重继承,因为在.NET中,类不能从多个类继承。 .NET通过接口支持多种继承。

更多..



垃圾邮件已移除。
.NET does not support multiple inheritances directly because in .NET, a class cannot inherit from more than one class. .NET supports multiple inheritances through interfaces.
for more..

Spam removed.


这篇关于我们如何在现实世界的编程中使用接口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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