标签:
例子:
struct S { private int d = 0; public int D { get { return d; } set { d = value; } } public S(int p) { D = p; } public static int Sum(int a, int b) { return a + b; } }
C#之结构体struct总结
原文地址:http://www.cnblogs.com/handsome1008/p/4658952.html