/ Published in: C#
Examples of use of Enum type, like how to iterate its items.
Expand |
Embed | Plain Text
public enum StudioGhibliDirectors { HayaoMiyazaki, IsaoTakahata, TomomiMochizuki, YoshifumiKondo, HiroyukiMorita, GoroMiyazaki, HiromasaYonebayashi } public class EnumIteration { public static void Main(string[] args) { Console.WriteLine("Studio Ghibli directors:"); { Console.WriteLine(director.ToString()); } } }
You need to login to post a comment.
