VB.NET's Chr( ) equivalent in C#.

S

Sami

Hello,
here is my problem:

I am trying to convert Ascii Values to characters in C# without success.

In VB.NET the Chr(128) returns the Euro sign and Chr(130) returns comma.

When I try to do the following in C# i.e. (char)128 or (char)130 I get
unreadable characters.

What is the best way of achieving the results equivalent to a Chr( ) in
VB.NET.
 

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

Similar Threads

[In,Out] equivalent 2
multiple CHR() in VBA 19
Chr() vs ChrW() and Const ... 2
CHR$(&H1B) in c# 2
VB.Net chr() equivalent in C#.net 6
Urgent Help on converting vb6 chr$() to C# 1
combobox, and chr(10) 7
Chr() 13

Top