2 // Stress test properties and the various modes of
3 // declarations (virtual, overrides, abstract, new)
13 abstract class A
: I
{
22 public abstract int Q { get; set; }
25 public virtual int R { get { return r; }
set { r = value; }
}
37 public override int Q
{
44 public override int Q
{
50 public override int R { get { return rr; }
set { rr = value; }
}
92 Console
.WriteLine ("Test passes");