Use arraylist to let String [] array are not fixed

zhaozj2021-02-16  46

ArrayList List = New ArrayList (); // Defines the ArrayList array list ..List.Add (I.TOString ()); // Add an array element list.add (result); .. String [] a = new string [list " .Count]; // Create a String array of List elements list.copyto (a); // copy

转载请注明原文地址:https://www.9cbs.com/read-20567.html

New Post(0)