You can create an enum
of African countries in C# by defining an enum
type and listing out all the countries as named constants separated by commas. Here is an example:
main.cs812 chars58 lines
You can then use this enum
type as a parameter or return value for functions that deal with African countries. For example:
main.cs594 chars19 lines
gistlibby LogSnag