62,268
社区成员
发帖
与我相关
我的任务
分享
enum xp1
{
1,2,3,4
}
enum xp2
{
win,win2,win3
}
public enum xp1
{
+1,+2,+3,+4,+5
}
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Response.Write(p.one);
}
}
enum p
{
"+1"=1,"+2"=2,"+3"=3
}
} enum xp1
{
one=1,two=2;three=3
}