VB.NET |
Help to convert ASP Classic Code to ASP.NET C#
Hi I'm a newbie can anyone help me convert this to asp.net c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

jingeRank #2,527 · 554 reputationPosted Sep 27, 2009, 7:08 PM EDT
string f = "ABCD"; byte [] input = Encoding.ASCII.GetBytes(f); byte[] output = Encoding.Convert(Encoding.ASCII, Encoding.Unicode, input); string convertedString = Encoding.Unicode.GetString(output);