我不禁要问,它是否能够把扼杀局限于界定的int价值。 类似于。 因此,如果我有以下声明:
public const uint COMPONENT1 = START_OF_COMPONENT_RANGE + 1;
public const uint COMPONENT2 = START_OF_COMPONENT_RANGE + 2;
public const uint COMPONENT3 = START_OF_COMPONENT_RANGE + 3;
并且有Xml文件界定了以下方式:
<node name="node1" port="12345">
<component>COMPONENT1</component>
<component>COMPONENT2</component>
</node>
我想能够将强化的拉美竞争基金1与拉美竞争基金1的附加价值区分开来。 这比照5001 5002 f.e的数字,更便于对Xml文档进行概述。
I assume that defining a dictionary or array could solve it but that leaves extra code.