会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lishidefengchen
首页
新随笔
管理
随笔 - 775
文章 - 0
评论 - 34
阅读 -
86万
02 2022 档案
.net 协变性与逆变性
摘要:前提条件:引用类型(指针间的游戏) 协变性:成员类型是要求类型的子类(派生类)。 例如:方法的返回值,如果定义要求返回的是Object,我们可以返回String,这个变化是被允许的。 逆变性:成员类型是要求类型的基类(父类)。 例如:方法的参数类型是 FileStream,我们可以传递一个 Stre
阅读全文
posted @
2022-02-25 09:34
lishidefengchen
编辑
公告
昵称:
lishidefengchen
园龄:
11年5个月
粉丝:
25
关注:
2
+加关注
<
2025年3月
>
日
一
二
三
四
五
六
23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
搜索
我的标签
C#
(52)
elk
(32)
xamarin
(31)
SharePoint
(29)
Git
(22)
xaf
(16)
linux
(16)
devexpress
(16)
angular-material
(15)
JavaScript
(14)
更多
随笔分类
(385)
.net(96)
abp(14)
angular(40)
docker(26)
elk(1)
erlang(1)
go(2)
html(9)
Java(5)
js(10)
linux(54)
ml(1)
node.js(6)
powershell(2)
python(12)
rabbitmq(2)
react(2)
read list(1)
redis(4)
sharepoint(17)
sql(40)
vs(16)
vue(2)
windows(22)
更多
随笔档案
(775)
2024年9月(1)
2024年1月(1)
2023年6月(2)
2022年7月(2)
2022年6月(2)
2022年4月(5)
2022年3月(6)
2022年2月(1)
2022年1月(11)
2021年12月(11)
2021年11月(8)
2021年10月(8)
2021年9月(19)
2021年8月(11)
2021年7月(8)
2021年6月(13)
2021年4月(2)
2021年3月(30)
2021年2月(9)
2021年1月(1)
2020年12月(17)
2020年11月(3)
2020年10月(3)
2020年9月(12)
2020年8月(11)
2020年7月(58)
2020年6月(14)
2020年5月(5)
2020年3月(1)
2020年2月(6)
2020年1月(13)
2019年12月(5)
2019年11月(2)
2019年10月(11)
2019年9月(24)
2019年8月(15)
2019年7月(8)
2019年6月(8)
2019年5月(12)
2019年4月(52)
2019年3月(47)
2019年2月(1)
2019年1月(1)
2018年7月(4)
2018年6月(3)
2018年5月(2)
2018年4月(11)
2018年3月(44)
2018年2月(12)
2017年12月(11)
2017年11月(7)
2017年10月(3)
2017年9月(7)
2017年8月(2)
2017年7月(3)
2017年6月(7)
2017年5月(3)
2017年3月(4)
2017年2月(3)
2017年1月(1)
2016年12月(2)
2016年11月(4)
2016年10月(2)
2016年8月(5)
2016年7月(4)
2016年6月(5)
2016年5月(6)
2016年4月(16)
2016年3月(14)
2016年2月(8)
2016年1月(3)
2015年12月(3)
2015年11月(3)
2015年10月(5)
2015年9月(2)
2015年8月(2)
2015年6月(1)
2015年5月(22)
2015年4月(11)
2015年3月(16)
2015年2月(4)
2015年1月(2)
2014年11月(2)
2014年10月(2)
2013年11月(7)
2013年10月(17)
更多
点击右上角即可分享