Visual Studio中调试 .NET源代码的实现步骤

  internal class Program

  {

  static void Main(string[] args)

  {

  var userInfoStr = "[{"UserName":"追逐时光者","Description":"一个热爱捣鼓的全栈软件工程师","Sex":"男"},{"UserName":"大姚","Description":"帅气小伙","Sex":"男"},{"UserName":"小艺子","Description":"超级大美女","Sex":"女"}]";

  var userInfoObj = JsonSerializer.Deserialize>(userInfoStr);

  }

  }

  public class UserModel

  {

  public string UserName { get; set; }

  public string Description { get; set; }

  public string Sex { get; set; }

  }