int array를 string 으로 변환하는 예제
UInt16 [] cnt = new ushort[10];
cnt[0] = 1234;
cnt[1] = 567;
cnt[2] = 89;
cnt[3] = 18958;
StringBuilder sb = new StringBuilder();
Array.ForEach(_cnt, xx => sb.Append((xx+", ")));
Console.WriteLine(sb.ToString());
결과
1234 567 89 18958 ...................................
관련 문서가 검색되었습니다.
- [2016/09/24] XML 으로 환경설정 저장하기 ( \n,엔터값 포함, NewLine) (9670)
- [2014/01/08] if 문에서 여러개 비교할때 (25341) *3
- [2013/08/29] byte array to Hexa String ()
- [2013/06/25] string array to string (스트링 문자열 합치기) ()
- [2013/03/17] C#, 16진수 TEXT => 10 진수 변환 ()
- [2013/01/15] 이미지를 아이콘으로 저장 (13002)
- [2013/01/06] byte array to string ()
- [2013/01/06] string to byte array ()
- [2012/06/02] split 을 Environment.NewLine로 사용할때 ()
- [2011/12/09] 자주 사용하는 기능 정리 ()