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

14 lines
292 B
C#

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());
}
}