<分区>
尝试设置一个在属性中有空格的枚举但是非常困难所以认为它们可能是一种用字符串格式或其他东西破解它的简单方法因为它们只是我需要的一个有空格的枚举而且我完全知道这是什么。任何帮助在此字符串中添加空格
public class Address
{
...blah...more class datatypes here...
public AddressType Type { get; set; } //AddressType is an enum
...blah....
}
if (Address.Type.ToString() == "UnitedStates")
{
**Add space between United and States**
}