If you want to avoid getting an array with an empty string as the only element, you can check if the string is empty before splitting it:
xxxxxxxxxx
string emptyString = "";
string[] result = string.IsNullOrEmpty(emptyString) ? new string[0] : emptyString.Split();
// result contains []
If you try to split an empty string in C#, it will return an array with one empty string as the only element.
xxxxxxxxxx
string emptyString = "";
string[] result = emptyString.Split();
// result contains [""]