C#???????????
?????fireaxe ???????[ 2016/9/9 9:45:15 ] ????????C# ??????????? .NET
?????????????????嶼??????????
???????壺????????????????????????????????????÷???????????????
?????????????????
????struct student
????{
????public int nianling;
????public int fenshu;
????public string name;
????public string sex;
????public int sum;
????}
?????????????????????????student????壬???а???int?????????????????????string??????????????
?????????÷???
??????main?????????漲????????????student????壬?????main?????????á?
????student st = new student();//??仰????main??????ж???????????st??student???????塣
???????濪?????????????????????????+??+????????????????=???
????main??????
????{
????st.nianling=22;
????st.fenshu=80;
????st.name="С??";
????}
????????????????????????????
????????????????????????????????
??????????????student???????????????????
????public shuxing sx;//???????shuxing?????????
????}
????public struct shuxing
????{
????public double tizhong;
????public double shengao;
????public int nianling;
????public string hunfou;
????}
?????????????????????????γ???????塣
????????????
public struct student//???????????????????????????????壬???????????public
{
public int nianling;//??????????????????????е???????????public
public string name;
public string sex;
public One qq;//????????а????????????
public string[] shuzu;//????????????????飬??????п?????
}
public struct One
{
public string nb;
public string abc;
}
static void Main(string[] args)
{
#region
//????????????????????????+??+????????????????=???
student st = new student();//?????????????????
st.name = "????";//???????????????????????????????
st.nianling = 21;//????????????????????
st.sex = "??";
st.name = "????";
//????????????????????????е???????????
Console.WriteLine(st.name);
st.qq.abc="qsqs";//?????а????????????????????????????????μ????
st.shuzu = new string [9];//???????????????
st.shuzu[0] = "????";//????????????
student st1 = new student();//?????γ?????????????????
st1.name = "????";
st1.nianling = 22;
st1.sex = "?";
#endregion
}
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11