语言基础csharpcs基础 CSharp, CSharp基础 2022-11-18 Source Edit History 枚举 1234567 enum PersonEnum{ rich, pool, none, homeless} 不写与下效果一致 12345678[Flags]enum PersonEnum{ rich = 0, // 00000000 pool = 1, // 00000001 none = 2, // 00000010 homeless = 3, //00000011} Read More
语言基础csharpcs基础 CSharp, CSharp基础 2022-10-31 Source Edit History 2048 用参数改变二维数组(引用数据类型)里的项直接改变原数组 如果是基本数据类型改变参数不会改变原字段 改变原数组 Read More