1334 Generating Documentation in Visual Studio Appendix (Yahoo web hosting) E

1334 Generating Documentation in Visual Studio Appendix E 3 4 using System; 6 namespace CircleTest 7 { 8 ///

9 /// Class Circle inherits from class /// Point. It has an additional member to 11 /// represent the radius, a property that provides access 12 /// to it and method Area to compute the area 13 /// of the circle. 14 /// public class Circle : Point 16 { 17 /// 18 /// This private member of Circle 19 /// represents the radius. /// 21 private double radius; 22 23 /// 24 /// Default constructor for class Circle. /// 26 /// 27 /// Sets the radius to 0. 28 /// 29 public Circle() { 31 // implicit call to base class constructor occurs here 32 } 33 34 /// /// Constructor for Circle that accepts two integers 36 /// that represent the x- and y-coordinates of the circle 37 /// and a double that represents the radius. 38 /// 39 /// /// Uses property Radius to set the radius 41 /// of the circle, not private member 42 /// radius. 43 /// 44 ///
/// The x-coordinate of the circle 46 /// 47 ///
48 /// The y-coordinate of the circle. 49 /// ///
51 /// The radius of the circle. 52 /// 53 public Circle( int xValue, int yValue, double radiusValue ) 54 : base( xValue, yValue ) { Fig. E.2 Fig. E.2Fig. E.FiFi2g. E.2g. E.2Circleclass marked up with XML comments. (Part 2 of 4.)
Go visit our java server pages services for a reliable, lowcost webhost to satisfy all your needs.

Leave a Reply