Tuesday, November 01, 2005 #

VS 2005 and Hello World Generics

Installed VS 2005 last night. It went pretty smooth. If you have something like Microsoft Anti Spyware installed, you might want to turn it off during the install. ie if you are not going to be in front of the computer during the process. It pops up a few times asking you to allow/block certain processes. A single reboot at the end and I was ready to write my first program:

using System;

namespace AnswerToEverything
{

    public class Universe<T>
    {
        public void Show(T t)
        {
            Console.WriteLine(t);
        }
    }  
 
    class Program
    {
        static void Main()
        {
            Universe<string> hello = new Universe<string>();
            hello.Show("Hello World");

            Universe<int> answer = new Universe<int>();
            answer.Show(42);

            Console.ReadLine();

        }
    }
}

posted @ Tuesday, November 01, 2005 5:52 AM | Feedback (0)

Notepad or not

I'm currently evaluating different source code editors trying to find the one most suitable for me as a notepad replacement. Some of the features I'm looking for are:

Something that loads as quickly as notepad
Regular Expression Find
Syntax Highlighting
Find in Files/Folders/Subfolders
Explorer Bar
Multi-tab
Compare 2 files
Column Mode Select
Free preferably!!!, but not necessary

Here are a few I've dug out.


Crimson Editor

Textpad

JEdit

Ultraedit

Editpad

PSPad

Notepad2

Notepad++

Any other recommendations? What do people think is the best out there?

posted @ Tuesday, November 01, 2005 5:41 AM | Feedback (3)