Meter to feet and feet to Mile : Geometry « Development Class « C# / C Sharp
- C# / C Sharp
- Development Class
- Geometry
Meter to feet and feet to Mile
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class Utilities
{
public static double MetersToFeet(double m)
{
return m / 0.3048;
}
public static double FeetToMiles(double f)
{
return f / 5280;
}
}
Related examples in the same category