32byte Char[] Unicode array conversion
C#
4
Posts
3
Posters
0
Views
1
Watching
-
Hi there, What's the best approach to convert a 32byte Char[] Unicode array to a simple string? char Name[0] char Name[1] char Name[2] ... char Name[31] thanks for your help, stonee
System.Text.Encoding.Unicode.GetString()
-
Hi there, What's the best approach to convert a 32byte Char[] Unicode array to a simple string? char Name[0] char Name[1] char Name[2] ... char Name[31] thanks for your help, stonee
-
How about this: string mystring = new string(Name); just create a new instance of a string using constructor that accepts array as an argument.