strange error after install vs2005(Version 8.0.50727.26 RTM.050727-2600)

When I uninstalled beta2 and installed the current version. Run following code will get a wrong result.

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

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            string test = "\x3007AB";
            if (test.StartsWith("AB")) //it return TRUE!!!
            {
                Console.WriteLine("Error");  
            }
            else
                Console.WriteLine("OK");
        }
    }
}

I reinstalled vs2005 using "repair" option. The error is still exists.I guess reinstall windows  will solve the problem, but that cost too much time. Anybody can help



Answer this question

strange error after install vs2005(Version 8.0.50727.26 RTM.050727-2600)