标签:typedef
-
无法使用“使用”定义类型快捷方式 - c#
我试图定义一种在我的代码中经常使用的类型的快捷方式: using IntPair = ValueTuple<int, int>; 我收到一个错误: The type or namespace "ValueTuple" could not be found. 但是,我可以在其余代码中毫无问题地使用ValueTuple。 这是定义 […]
我试图定义一种在我的代码中经常使用的类型的快捷方式: using IntPair = ValueTuple<int, int>; 我收到一个错误: The type or namespace "ValueTuple" could not be found. 但是,我可以在其余代码中毫无问题地使用ValueTuple。 这是定义 […]