标签: c#-3.0
我有以下代码:
public abstract class A //(a) { public dynamic Id { get; set; } } public class B: A { ... } public class C:A { ... }
如何使B.Id为int且C.Id始终为字符串?