Crystaltech web hosting - Appendix E Generating Documentation in Visual Studio 1335

Appendix E Generating Documentation in Visual Studio 1335 56 Radius = radiusValue; 57 } 58 59 ///

60 /// Provides get and set access to member 61 /// radius. 62 /// 63 /// 64 /// The set method ensures 65 /// that radius is 66 /// not set to a 67 /// negative number. 68 /// 69 /// 70 /// Radius accesses the value of the 71 /// radius data member. 72 /// 73 public double Radius 74 { 75 get 76 { 77 return radius; 78 } 79 80 set 81 { 82 if ( value >=0 ) 83 radius = value; 84 } 85 } 86 87 /// 88 /// Computes the diameter of the circle. 89 /// 90 /// 91 /// Returns the diameter of the circle. 92 /// 93 public double Diameter() 94 { 95 return Radius * 2; 96 } 97 98 /// 99 /// Computes the circumference of the circle. 100 /// 101 /// 102 /// Uses constant Math.PI 103 /// 104 /// 105 /// 106 /// Returns the circumference of the circle. 107 /// Fig. E.2 Fig. E.2Fig. E.FiFi2g. E.2g. E.2Circleclass marked up with XML comments. (Part 3 of 4.)
Searching for affordable and reliable webhost to host and run your web applications? Go to our java web server services and you will be pleased.

Leave a Reply