private static ReadOnlySpan <State> Convert(ReadOnlySpan <char> row) { Span <State> next = new State[row.Length]; for (var i = 0; i < row.Length; i++) { next[i] = EnumHelpers.FromDisplayName <State>(row[i].ToString()); } return(next); }