public bool Searcher(string line1) { bool Found = false; Found |= this.ToString().ToStringNull().Equals2(line1); foreach (string item in Tag.Performers) { Found |= item.ToStringNull().Equals2(line1); } if (Tag.Performers.Length == 0) { Found |= "".ToStringNull().Equals2(line1); } Found |= Tag.Album.ToStringNull().Equals2(line1); Found |= Tag.Title.ToStringNull().Equals2(line1); Found |= FileName.Equals2(line1); Found |= FileName.Equals2(line1); foreach (string genre in Tag.Genres) { if (genre != "" && genre != null) { Found |= genre.Equals2(line1); } } return(Found); }