Home > Net >  Using what vs2017 function can realize mutual conversion array with the list
Using what vs2017 function can realize mutual conversion array with the list

Time:04-06

The following statement is implemented in c #, for example, use the Tolist (), ToArray () to achieve an array with the list of mutual transformation, but cannot be used in the MFC, complains, so how to achieve this purpose in the MFC?

List=line_str1. ToList ();
For (int I=lines. The size () - 1; I & gt; 0; I -)
{
If (line_str [I] b_sum==9999)
{
List. The RemoveAt (I);
}
}
List. The RemoveAt (0);
Line_str=list. ToArray ();
  • Related