【发布时间】:2009-10-27 00:47:16
【问题描述】:
有什么区别:
type IFooable =
interface IDisposable
abstract Foo : (unit -> unit)
和
type IFooable =
inherit IDisposable
abstract Foo : (unit -> unit)
?
如果等效,在哪些情况下我应该使用其中一种? 谢谢!
【问题讨论】:
标签: inheritance f# interface