13
সি # একটি এনামের মাধ্যমে ইটারেটিং? (একটি সিস্টেম সূচীকরণ। অ্যারে)
আমার কাছে নিম্নলিখিত কোড রয়েছে: // Obtain the string names of all the elements within myEnum String[] names = Enum.GetNames( typeof( myEnum ) ); // Obtain the values of all the elements within myEnum Array values = Enum.GetValues( typeof( myEnum ) ); // Print the names and values to file …
113
c#
enums
iteration
system.array