如何从sbyte数组转换为字符串 [英] how to convert from sbyte array to string

查看:271
本文介绍了如何从sbyte数组转换为字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的开发人员,
我想将sbyte数组转换为字符串,因为这是use
字符串str = convert.Tostring(sbyte [])
但这不能给我我想要的正确输出.
任何人都可以帮我这个忙..........

问候,
Ravi

Dear Developer,
I want to convert sbyte array to string, for this is use
string str = convert.Tostring(sbyte[])
but this not give me correct output that i want.
Anybody please help me for this..........

Regards,
Ravi

推荐答案

尝试使用System.Text.Encoding并查看GetString方法.请参阅MSDN: http://msdn.microsoft.com/en-us/library/system .text.encoding.aspx [ ^ ] :: GetString方法 [
Try using System.Text.Encoding and looking at the GetString method. See MSDN: http://msdn.microsoft.com/en-us/library/system.text.encoding.aspx[^] :: GetString method[^]


您好,
看看这可能会有所帮助

http://jgvimalan.wordpress.com/2011/02/22/convert-sbyte -to-string/ [ ^ ]
hello there
Have a look on this may be helpful

http://jgvimalan.wordpress.com/2011/02/22/convert-sbyte-to-string/[^]


这篇关于如何从sbyte数组转换为字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆