WARNING: Has Microsoft's Windows Update Screwed the .NET Framework??

J

Johann Blake

This morning I ran Microsoft's Windows Update from

http://v4.windowsupdate.microsoft.com/en/default.asp

After hours of development, I have now discovered something horrible
has happened with the .NET.

The .NET Framework no longer has the Concat method in the strings
class. I just posted a problem about not being able to concatenate
strings to contain an apostrophe. For example,

string s = "hello \"Bob\"";

should result in

hello "Bob"

Instead it comes back with

hello \"Bob\"

The Concat method also no longer exists. Hey what's going on here.
This has to be related to the update I installed this morning. It
looks like MS has installed an old version of the .NET framework and
it has killed my newer version.

Can someone from Microsoft reading this posting please look into this
right away.

I'm using Windows 2000 and Visual Studio.NET 2003.

Johann
 
J

Jon Skeet

Johann Blake said:
This morning I ran Microsoft's Windows Update from

http://v4.windowsupdate.microsoft.com/en/default.asp

After hours of development, I have now discovered something horrible
has happened with the .NET.

The .NET Framework no longer has the Concat method in the strings
class. I just posted a problem about not being able to concatenate
strings to contain an apostrophe. For example,

<snip>

Rather than giving a single line of code, please give a short but
complete example which you've run from the command line. For instance:

using System;

public class Test
{
static void Main()
{
string s = "hello \"Bob\"";
Console.WriteLine (s);
}
}

When compiled and run from the command line (not inside a debugger of
any kind) this should produce:

hello "Bob"

(and it does on my box).
 
G

Guest

I have run a simular test on my XP system.

First, I checked with WindowsUpdate and I am up to date on my security
patches.

I ran the following code in a console app application

[STAThread]

static void Main(string[] args)

{

string s = "hello \"Bob\"";

Console.WriteLine (s);





}



It seems to work fine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top