public static async void LoadTags() { if (!File.Exists(path)) { InternetP parser = new InternetP(); JArray tags = await parser.HiyobiTags(); Tags = tags.Select(x => Hitomi.HTag.Parse(x.ToString())).ToList(); Tags.Add(Hitomi.HTag.Parse("language:korean")); //Tags = tags.Select(x => new Tag { name = x.ToString(), types = Tag.ParseTypes(x.ToString()), Hitomi = Tag.isHitomi(x.ToString()) }).ToList(); File.WriteAllText(path, tags.ToString()); } else { JArray tags = JArray.Parse(File.ReadAllText(path)); Tags = tags.Select(x => Hitomi.HTag.Parse(x.ToString())).ToList(); //Tags = tags.Select(x => new Tag { name = x.ToString(), types = Tag.ParseTypes(x.ToString()), Hitomi = Tag.isHitomi(x.ToString()) }).ToList(); } }