在一些现有的代码中,我看到以下内容:
public abstract class BasicComponent<T> : IBasicComponent<T>
where T : class, new()
Run Code Online (Sandbox Code Playgroud)
我知道抽象类是什么,以及接口.但究竟是什么做用where T,当你伸出什么happends class和new()?