I am trying to covert some VB.NET code to C# and found this interesting thing. Adding two chars returns different results in VB.NET and C#.
VB.NET - returns string
Chr(1) & Chr(2) = " "
C# - returns int
(char)(1) + char(2) = 3
How can i add(concatenate) two chars in C#?
See Question&Answers more detail:os