public void AddFolder(string name) { if (Folders == null) { Folders = new string[] { Utilites.Clean_CRLF(name + string.Empty).Trim() } } ; else { var array = Folders; Array.Resize(ref array, array.Length + 1); array[array.Length - 1] = name; Folders = array; } }