class ...
ist:
Verweis-Semantik (wie in Java)
struct ...
ist:
Wert-Semantik
class s {public int foo; public string bar;} s x = new s(); x.foo = 3; x.bar = "bar"; s y = x; y.bar = "foo"; Console.WriteLine (x.bar);
und dann class
durch struct
ersetzen