父类如何在c#中继承子类? [英] How the parent class inherit the child class in c#?

查看:213
本文介绍了父类如何在c#中继承子类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的先生;

父类如何在c#中继承子类?

Dalia

Dear sir;

How the parent class inherit the child class in c#?

Dalia

推荐答案

阅读以下内容:

http://msdn.microsoft.com/en-us/library/ms173149.aspx [ ^ ]

继承介绍,C#中的多态性 [
Read these:

http://msdn.microsoft.com/en-us/library/ms173149.aspx[^]

Introduction to inheritance, polymorphism in C#[^]

hope it helps :)


达莉亚,

研究上面发布的其他人给的链接.

顺便说一句,你的问题是错误的,只有子类将从父类继承
Hi Dalia,

Study the links given by other people posted above.

by the way your question is wrong, only child class will get inherited from the parent class


hello,


请研究这些链接,通过它们您可以了解继承.


http://msdn.microsoft.com/en-us/library/ms173149%28v = vs.80%29.aspx


http://csharp.net-tutorials.com/classes/inheritance/
hello,


Please study these links, by which you can understand the inheritance.


http://msdn.microsoft.com/en-us/library/ms173149%28v=vs.80%29.aspx


http://csharp.net-tutorials.com/classes/inheritance/


这篇关于父类如何在c#中继承子类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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