C#中static修饰符有什么意义?

2025-04-10 08:54:56
推荐回答(1个)
回答1:

static 是静态的意思
例如 static void output(){} 这就表明声明了一个静态函数
static int x ; 声明一个静态变量