• 2024-10-25【C#】 .NET Framework 中使用JSON
    因为System.Text.Json是.NETCore和.NET5+中引入的命名空间。如果你使用的是.NETFramework,你需要使用Newtonsoft.Json库来处理JSON。 usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;u