public static void FixSetString( ref string[] args, int index ) { string[] old = args; args = new string[index]; Array.Copy( old, 0, args, 0, index ); }