摘要: # record 使用方法 ### 基本用法 ``` public class Program { public record Test(int a, string b); public static void Main() { var t = new Test(b: "bbb", a: 10); 阅读全文
posted @ 2023-06-15 16:02 _NKi 阅读(13) 评论(0) 推荐(0) 编辑