Geeks With Blogs
Random Musing Putting it together one piece at a time...

using System;
using System.Collections.Generic;

namespace HelloWorld
{
    public class AboutMe
    {
        private string name;
        private int age;
        private List<string> stuffs;

        public string Name {get { return name; }}
        public int Age {get { return age; }}
        public List<string> Stuffs {get { return stuffs; }}

        public AboutMe(string param_name, int param_age, List<string> param_stuffs)
        {
            name = param_name;
            age = param_age;
            stuffs = param_stuffs;
        }
    }

    class onStart
    {
        static void Main(string[] args)
        {
            AboutMe profile = new AboutMe("Nestor", 30, ComputeStuffs());
            WriteConsole(profile);
        }

        private static List<string> ComputeStuffs()
        {
            List<string> stuffsido = new List<string>(5);
            stuffsido.Add("Technology");
            stuffsido.Add("Music");
            stuffsido.Add("Cars");
            stuffsido.Add("Sports");
            stuffsido.Add("Movies");
            return stuffsido;
        }

        private static void WriteConsole(AboutMe profile)
        {
            Console.WriteLine("Name: " + profile.Name);
            Console.WriteLine("Age : " + profile.Age);
            Console.WriteLine("");
            Console.WriteLine("Stuffs that I like and/or do:");
           
            for (int i = 0; i < profile.Stuffs.Count; i++)
            {
                Console.WriteLine(i.ToString() + ". " + profile.Stuffs[i].ToString());
            }

            Console.WriteLine("");
            Console.WriteLine("Press enter key to exit");
            Console.ReadLine();
           
        }
    }
}

I write bad code. Unoptimized, unstable, runs slowly, uses all the wrong classes and at times totally incomprehensable. Even though I'm accrediated, it doesn't make any difference. Being accrediated are suppose to mean that you know your stuffs, what and when to use which objects/classes and know them inside out, but I'm not. I've read a good half of the entire MSDN document, but I still suck when it comes to getting my hands wet. Oh yeah, if you do not already know, a better half of this snippet is copied. (Sorry Jason). Yes I google and copy codes from time to time.

I'm not smart either, but I try to be.

Cool, so now that I've justified just how lousy I am, I'll talk a little of what I do for a living. I work in a fairly large non-technology MNC, managing applications-oriented projects, designing architectures, integrating and putting disparate systems together, developing BI systems and applications, and of course some of the work are googled, shamelessly copied and put into practise.

So why do I start a blog? Mainly because I need a place to host my short-term memory. With so much going on, I realise I can't remember anything after one month of abstinence. So hopefully, in the event of reading my online notes, someone smarter will correct me of my wrongdoings, or someone else will benefit from what I write.

Cheers!

Posted on Friday, December 8, 2006 5:17 AM General Stuff | Back to top


Comments on this post: Hello World

# re: Hello World
Requesting Gravatar...
haha.. k, that reminds me of a joke i just read href='http://www.ariel.com.au/jokes/The_Evolution_of_a_Programmer.html
Left by wee shen on Dec 08, 2006 7:00 AM

# re: Hello World
Requesting Gravatar...
Hahah! That's great stuff!
Left by Nestor on Dec 08, 2006 7:37 AM

# re: Hello World
Requesting Gravatar...
Nestor. Welcome to the blogging sphere. Great to have you on board!
Left by Chris Vidotto on Dec 09, 2006 5:37 AM

Your comment:
 (will show your gravatar)


Copyright © Nestor | Powered by: GeeksWithBlogs.net