The Method converts the temperature in Celcius to Fahrenheit
//Microsoft Public License (Ms-PL)
//http://c4fdevkit.codeplex.com/license
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
namespace C4F.DevKit.WebServices
{
/// <summary>
/// Provides useful methods like conversion methods.
/// </summary>
publicstaticclass Utility
{
/// <summary>
/// The Method converts the temperature in Celcius to Fahrenheit
/// </summary>
/// <param name="temperature">Temperature in Celcius</param>
/// <returns>Temperature in Fahrenheit</returns>
publicstaticdouble CelciusToFahrenheit(double temperature)
{
return (9.0 / 5.0) * temperature + 32;
}
}
}