1

也许这太容易了,我无法得到但是......有什么区别:

public void MyMethod<T>(T item) where T : SomeType { ... }

public void MyMethod(SomeType item) { ... }

?

4

0 回答 0