blob: 36b0025e219d6de8ff84b831b98c13d5874bb6d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
public class Person : Object {
public string name {
get {
return "Joe Badger";
}
}
public Beer favorite_beer {
get;
construct;
}
public Person() {
Object(favorite_beer: new Beer("smooth"));
}
}
|