How do I iterate through an enum?
This question already has an answer here:
尝试
foreach(var base in Enum.GetValues(typeof(Base)).Cast<Base>())
{
doc = vircurex.get_lowest_ask(base)
}
链接地址: http://www.djcxy.com/p/91496.html
上一篇: 使用自定义属性对枚举进行foreach
下一篇: 如何迭代枚举?