标签: c# .net
我想知道为什么课堂上的const字段不能是静态的?
const
我想声明这样一个字段:
static const float pi=3.14;
但是出现了错误"the constant pi can't be marked static"
"the constant pi can't be marked static"