Convert Minutes To Seconds - CSharp System

CSharp examples for System:DateTime Second

Description

Convert Minutes To Seconds

Demo Code


using System;//w ww . j  a v a 2 s .c  o m

public class Main{
        public static double ConvertMinutesToSeconds(double minutes)
        {
            return TimeSpan.FromMinutes(minutes).TotalSeconds;
        }
}

Related Tutorials