Minutes of TimeSpan - CSharp System

CSharp examples for System:DateTime Minute

Description

Minutes of TimeSpan

Demo Code


using System;//from   ww w . j  ava 2  s. c o m

public class Main{
        public static TimeSpan Minutes(this int span)
        {
            return new TimeSpan(0, span, 0);
        }
}

Related Tutorials