2 me yu Me_yu 于 2014.02.28 12:20 提问

單字符變量名有哪些(不要用小寫的)?

public enum DAY
{
A = 1,
B = 2,
C = 3,
D = 4,
E = 5,
F = 6,
G = 7,
H = 8,
I = 9,
J = 10,
K = 11,
L = 12,
M = 13,
N = 14,
O = 15,
P = 16,
Q = 17,
R = 18,
S = 19,
T = 20,
U = 21,
V = 22,
W = 23,
X = 24,
Y = 25,
Z = 26,
_= 27,
= 28,
= 29,
= 30,
= 31
}

1个回答

tlxzsz
tlxzsz   2014.02.28 18:06

字母 数字 下划线 不能以数字开头。貌似27个全拉

Me_yu
Me_yu 原本想用單個字符來表示一個月的不同天數的,沒辦法 28 29 30 31 只能用 a b c d 然後再轉成 進行一次判定轉為 1,2,3,4
3 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片