private void analysis(string content) { var arr = content.Split('\n').Skip(1).ToArray(); arr = arr.Take(arr.Length - 1).Select(t => t.Trim()).ToArray(); foreach (var item in arr) { Items.Add(JSScriptItem.Parse(item)); } }