C# .NET 자료실
- 전체
- Form
- Image/Picture/Icon
- Enviroment
- string
- File/Directory
- Menu
- windows
- Net
- DataBase
- LINQ
- Event
- DateTime
- General
- 에러해결
- 그외
- 정리예정
string int array to string
2013.08.29 11:15
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) ()
- [2014/01/08] if 문에서 여러개 비교할때 () *3
- [2013/08/29] byte array to Hexa String ()
- [2013/06/25] string array to string (스트링 문자열 합치기) ()
- [2013/03/17] C#, 16진수 TEXT => 10 진수 변환 (23502)
- [2013/01/15] 이미지를 아이콘으로 저장 (13000)
- [2013/01/06] byte array to string (13915)
- [2013/01/06] string to byte array (13750)
- [2012/06/02] split 을 Environment.NewLine로 사용할때 (21541)
- [2011/12/09] 자주 사용하는 기능 정리 ()