LaunchCodeEducation / csharp-web-dev-curriculum

Hugo version of C# Unit 2
http://education.launchcode.org/csharp-web-dev-curriculum/
1 stars 5 forks source link

Chapter 5 Constants Example references wrong keyword #64

Open matthewcreek opened 3 months ago

matthewcreek commented 3 months ago

Relevant Link

Text states: "Try updating the absoluteZeroFahrenheit from a double to a const value in your TemperatureExample project."

public class Temperature {

   private double fahrenheit;

   public const double ABSOLUTE_ZERO_FAHRENHEIT = -459.67;

   /* rest of the class... */

}

Text should state: "Try updating the absoluteZeroFahrenheit from a static value to a const value in your TemperatureExample project."