public class Camera { private double Distance_; private double Far_; public double Distance { get { return Distance_; } set { Distance_ = value; } } public double Far { get { return Far_; } set { Far_ = value; } } }
private Camera Camera_ = new Camera(); public MyCamera Camera { get { Camera_ = new Camera(); return Camera_; } set { Camera_ = value; } }