namespace ConsoleApp6SerializeJson
{
internal class Program
{
static void Main(string[] args)
{
var lns = File.ReadAllText(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "School.json"));
List<School> schools = JsonConvert.DeserializeObject<List<School>>(lns);
foreach (School school in schools)
{
Console.WriteLine(school.grade);
Console.WriteLine(school.name);
Console.WriteLine(school.location);
}
Console.ReadKey();
}
}
}
School.cs
namespace ConsoleApp6SerializeJson
{
internal class School
{
public string name { get; set; }
public string location { get; set; }
public int grade { get; set; }
}
}
感谢 B 站上关于 EQ 扫盲视频分享 🔊声音变好听-让均衡器改变你的音色|均衡器怎么调?(adobe audition 2020基础教程) 简要内容 a. 人耳能够听到的频率 20HZ-20000HZ; b. 人耳普遍认为低于 80HZ 是噪声; c. …