After Now DateTime - CSharp System

CSharp examples for System:DateTime Calculate

Description

After Now DateTime

Demo Code


using System;/*from  w ww.  ja  v a  2  s .c o  m*/

public class Main{
        public static DateTime AfterNow(this TimeSpan span)
        {
            return DateTime.Now.Add(span);
        }
}

Related Tutorials