我正在尝试在C#中执行以下操作。
public class Parent<T> where T : Parent<???> { public T Prop { get; set; } } public class Child : Parent<Child> { }
我该怎么办?
这很好用: