11 2022 档案
摘要:C# List合并相同元素,把相同的元素的某个值累加 原数据 合并后 public class Student { public string? Name { get; set; } public string? Sex { get; set; } public int Score { get; s
阅读全文
摘要:Json写入(序列化) using System.IO; using System.Text; /// <summary> /// 对象转换为json字符串 /// </summary> /// <param name="obj">需要转换的对象</param> /// <returns></ret
阅读全文
摘要:<Window x:Class="WpfAppDemo.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/
阅读全文