GetValues method returns an array of all enum values. The following code snippet ... foreach (string name in Enum.GetNames(typeof(Fruits))) ...
確定! 回上一頁