rmyhill

rmyhill

  • NA
  • 1
  • 0

How to convert C++ static array to C#

Dec 10 2004 2:34 PM
Hi, I have the following C++ structures, so that I can easily iterate over BaseModules and get its members. How do I do the equivalent in C#? Thanks. +++++++++++++++ struct ModuleSpec { CString Name; CString Alias; bool bHiding; bool bQualified; }; ModuleSpec BaseModules[] = { // Name Alias Hiding Qualified "Translator", "", false, false, "Run", "", false, false, "Efi", "MC_mc", false, true, "Efi", "MC_mc", true, false, "UserEfi", "MC_user", false, false, "UnitSystem", "MC_unit", false, false, "UnitSystemSI", "SI", false, true };

Answers (1)