如果你想对一种类型的对象 switch ,最好的方法是什么? 代码段. private int GetNodeType(NodeDTO node) { switch (node.GetType()) { case typeof(CasusNodeDTO): ...
確定! 回上一頁