I have this code:
Dim sCenter As String
sCenter = Chr(27) + Chr(97) + Chr(1)
And I'm trying to convert to a C# code. Online converters always fail to convert... :(
So, what is the C# equivalente of Chr(number)
?
Maybe Char.ConvertFromUtf32(10);
Feel like taking risk to answer but how about?
Thanks to James Curran's comment about
char
integral addition. As his suggested, I added meaningless""
withchar
to getstring + char
which uses.ToString()
withString.Concat
method at background.