is there a way to create a character by its ascii code without using the chr function?
Printable View
is there a way to create a character by its ascii code without using the chr function?
I just have to ask:
If there is, how would you benefit? :)
well CHR is listed under ms.visualbasic... I was wondering what is used for this in C#?Quote:
Originally posted by Athley
I just have to ask:
If there is, how would you benefit? :)
There should be something in the System.Text namespace.
Aha I see..... well there is one here as well.....
Thought it was that one you meant, I didn't know of the one you mentioned though. :)Code:Strings.Chr
hmm then I guess I dont know how to use the Object Browser feature.... I just searched for Chr in there and it only shows Microsoft.VisualBasic.Chr()
why isnt the Strings.Chr() one listed there? :confused:
Have no idea....
In C# I would do
char c = (char)65;