singrdk/base/Windows/csic/test/struct.cs

14 lines
292 B
C#
Raw Permalink Normal View History

2008-11-17 18:29:00 -05:00
struct Sky {
public int sun;
public int rain;
public override string ToString() { return base.ToString(); }
}
class test {
public static void Main() {
int x = 10;
System.Console.WriteLine(x.ToString());
Sky y = new Sky();
System.Console.WriteLine(y.ToString());
}
}