Silly Program I Wrote #1

I was scouring my projects folder for old projects that need to be changed when I found this:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
    class Program
        static void Main(string[] args)
            var dtMarriage = new DateTime(2010, 6, 19);
            var dtNow = DateTime.Now.Date;
            var ts = new TimeSpan(dtNow.Ticks - dtMarriage.Ticks);

Haha.. I wonder why did I wrote a program to count how many days I’ve been married 😀

GD Star Rating
a WordPress rating system
Silly Program I Wrote #1, 4.0 out of 5 based on 2 ratings
Worth sharing ?

Incoming Search Term

Advertise Here


No Comment

Add Your Comment