创世纪
早就获得了园子的宅基地,只是一直未开垦,现在终于决定开荒了,作为开荒力作,一句话足以。
(顺便试试Windows Live Writer)
一个struct的概念题,会输出什么呢?
public struct A { public int a; public int b; } class Program { static void Main(string[] args) { A a1 = new A(); a1.a = 1; a1.b = 2; A b1 = a1; b1.a = 3; Console.WriteLine("a1.a = "+a1.a.ToString()); Console.WriteLine("b1.b = "+b1.b.ToString()); } }