3 public class Test: MarshalByRefObject
5 public DateTime Stamp = new DateTime (1968, 1, 2);
6 public double perc = 5.4;
10 AppDomain d = AppDomain.CreateDomain ("foo");
11 Test t = (Test) d.CreateInstanceAndUnwrap (typeof (Test).Assembly.FullName, typeof (Test).FullName);
12 if (t.Stamp != new DateTime (1968, 1, 2))