// A very simple class point with public data representation. // An incomplete sketch. // This version uses polar representation. // NOT RECOMMENDED because of public data representation. using System; public class Point { public double radius, angle; public Point(double x, double y){ radius = ... angle = ... } public void Move(double dx, double dy){ radius = ... angle = ... } public void Rotate(double angle){ this.angle += angle; } public override string ToString(){ ... } }