Showing posts with label How 2. Show all posts
Showing posts with label How 2. Show all posts

Sunday, 16 October 2011

Annual leave calculation, Holiday calculation

4 weeks annual leave / 52 weeks = 0.0769 annual leave week per working week = 3.077 annual leave hours per week = roughly 12 annual leave hours per month

OR

11.5 hours per month on average roughly. (Averaged from 3 of my pay slips)

Saturday, 28 May 2011

Hello NZ. How to post source code in Blogger BlogSpot

This is a test post.

// This is called Generic Type
    class Pair
    {
        public TKey Key { get; set; }
        public TValue Value { get; set; }

        public Pair(TKey key, TValue value){
            Key = key;
            Value = value;
        }

        // This is called Generic Method
        public void InferredTypeArgument(T sameAsTypeParameter)
        {
            Console.WriteLine(typeof(T));
        }
    }