Array Class
Type Array:: to get all the members of the Array class you can use
Modern C++/CLI programs should almost always use vectors and iteriators in preference to the lower-level arrays and pointers, and strings to replace C-style array based character strings. Well designed programs use arrays and pointers only in the internals of class implementations where speed is essential. As well as being less powerful, C-style strings are the root cause of many many security problems. A vector is a collection of objects of a single type, each of which has an associated integer index. Its much the same as an array but unlike arrays it allows new elements to be added at run time. (more…)
You can create constanst arrays no problem and can do it at class level like this in the class variable area: (more…)
String ^data = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
array<Byte> ^buffer = System::Text::Encoding::ASCII->GetBytes(data);