🌈 搜索
📅  最后修改于: 2022-03-11 14:49:14.706000             🧑  作者: Mango
enum Foos { Foo, Bar, } foreach(Foos val in Enum.GetValues(typeof(Foos))) { //Do whatever with the value :D }