小编Ant*_*ler的帖子

C#接口继承(基础知识)

为什么以下产生编译器错误:

public interface OwnSession : ISession { }

[...]
OwnSession s = SessionFactory.OpenSession(); // compiler error (in german unfortunately)
[...]
Run Code Online (Sandbox Code Playgroud)

"SessionFactory"在"OpenSession()"(NHibernate)上返回"ISession"

c# inheritance .net-2.0

4
推荐指数
2
解决办法
279
查看次数

标签 统计

.net-2.0 ×1

c# ×1

inheritance ×1