How to convert a Unicode value to its equivalent string?
For example, I have "రమెశ్", and I need a function that takes this Unicode value and returns a string.
I looked at the System.Text.Encoding.Convert () function, but this does not take Unicode value; It takes two encodings and a byte array.
I have a basic byte array that I need to store in a string field, and then come back later and convert the string to a byte array first.
So I use ByteConverter.GetString (byteArray) to save an array of bytes to a string, but I cannot return it to an array of bytes.
source share