摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading; //线程类:暂停函数 namespace Program { class Pro 阅读全文
posted @ 2020-09-11 00:32
rainbow70626
阅读(1103)
评论(0)
推荐(0)
摘要:
问题:字段初始值设定项无法引用非静态字段、方法或属性的问题 下面代码出错的原因,在类中定义的字段为什么不能用? public class Test { public Test() { } public int Age=23; public int temp = Age;//ERROR 字段初始值设定 阅读全文
posted @ 2020-09-11 00:21
rainbow70626
阅读(880)
评论(0)
推荐(0)

浙公网安备 33010602011771号