CSharp examples for System:Math Convert
convert Feet To Inches
using System.Threading.Tasks; using System.Text; using System.Linq; using System.Collections.Generic; using System;/*from w ww .j a v a 2 s .com*/ public class Main{ //conver feet to inches public static void convertFeetToInches(float feet) { float result = INCH_PER_FOOT * feet; Console.WriteLine("There are {1} inches in {0} ft", feet, result); } }