You could reference Microsoft.VisualBasic.DLL and look in the
Microsoft.VisualBasic namespace for the functions. e.g. look at the static
methods on the Microsoft.VisualBasic.Strings class...

...or you could do things the .NET way: look at System.Text.Encoding classes

e.g.
Asc equivalent:
   byte charCode = Encoding.ASCII.GetBytes("A")[0];


Hope that helps,

Duncan Smart
Aris Education(UK)
=====================

On Tue, 23 Apr 2002 08:00:40 -0500, Edward Ferron <[EMAIL PROTECTED]>
wrote:

>How do I get Asc, Ascii, Char Chr functions in C#?  Is there another class
>for them?  They are available in VB.NET but I can not find the namespace
>from which they come from?
>
>Thanks,
>
>Ed
>
>You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
>subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to