.NET/C# Basic 썸네일형 리스트형 [C#] Thread를 정복해 보자 관련 문서 : http://www.albahari.com/threading/ 관련 샘플 : http://msdn.microsoft.com/ko-kr/library/3dasc8as(VS.80).aspx 더보기 사용예) StringCollection 과 string[] int[] converterMethod StringCollection stringCollection = new StringCollection(); stringCollection.AddRange(list1.ToArray()); stringCollection.Add("|"); stringCollection.AddRange(CommonClass.ExtensionMethods.ToStringArray(list2.ToArray())); public static class ExtensionMethods { public static string[] ToStringArray(this int[] intArray) { return Array.ConvertAll(intArray, delegate(int intParameter) { return intParamet.. 더보기 [C#] 하드시리얼넘버, 외부IP, 내부IP, DNS , NetBios, GUID 그위드 , 클릭온스 버전, 외부아이피 내부아이피 구하기 메서드 public static class SystemClass { // 하드시리얼넘버 public static string GetHDDSerialNumber(string drive) { if (drive == "" || drive == null) { drive = "C"; } ManagementObject disk = new ManagementObject("win32_logicaldisk.deviceid=\"" + drive + ":\""); disk.Get(); return disk["VolumeSerialNumber"].ToString(); } // 외부 아이피 public static string GetIP() { string tempIp = string.Empty; try { tempIp = new W.. 더보기 C# 프로그래밍 도구 http://msdn.microsoft.com/ko-kr/vcsharp/aa336818.aspx#IDEs C# 프로그래밍 도구C# 팀이 웹에서 다른 CLI 구현, 멋진 개체 브라우저, IDE 트릭, 추가 기능, Obfuscator를 비롯하여 보다 신속한 작업 수행을 지원하는 기타 유용한 도구와 유틸리티를 찾았습니다. 코드 생성 도구를 포함하여 유용한 도구, 프레임워크 및 클래스 라이브러리에 대한 추가 링크를 보려면 클래스 및 라이브러리 페이지를 확인하십시오. 주요 도구 라이브러리 및 기타 자료 C# 컴파일러 및 프레임워크 Obfuscator 디컴파일러 프로파일러/최적화 도구 리팩터링 개체 브라우저 편집기 IDE(개발 환경) 빌드 도구 표준 검증 도구 테스트 설명서 데이터베이스 정규식 그래픽, 게임 및 그.. 더보기 내가 좋아하는 SortedList http://msdn.microsoft.com/en-us/library/ms132319.aspx#Mtps_DropDownFilterText using System; using System.Collections.Generic; public class Example { public static void Main() { // Create a new sorted list of strings, with string // keys. SortedList openWith = new SortedList(); // Add some elements to the list. There are no // duplicate keys, but some of the values are duplicates. openWith.Add("t.. 더보기 Array.Find / List.Find Method 사용 예 List.Find Method Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.Namespace: System.Collections.Generic Assembly: mscorlib (in mscorlib.dll) MDSN제공 신뢰할만함 (http://msdn.microsoft.com/ko-kr/library/d9hy2xwa(VS.80).aspx) C# public T Find ( Predicate match ) using System; using System.Collections.Generic; p.. 더보기 .net 설치 배포 방법 모든 진리는 MSDN에 있느리라~! Windows Installer 배포 http://msdn.microsoft.com/ko-kr/library/2kt85ked.aspx http://msdn.microsoft.com/ko-kr/library/2kt85ked(VS.80).aspx 더보기 1차원 배열(C# 프로그래밍 가이드) string 배열 스트링 배열 1차원 배열(C# 프로그래밍 가이드) 다음 예제처럼 5개의 정수를 포함하는 배열을 선언할 수 있습니다.C#int[] array = new int[5];이 배열에는 array[0]에서 array[4]까지의 요소가 있습니다. 배열을 생성하고 배열 요소를 기본값으로 초기화하려면 new 연산자를 사용합니다. 이 예제에서는 모든 배열 요소를 0으로 초기화합니다.같은 방법으로 문자열 요소를 저장하는 배열을 선언할 수 있습니다. 예를 들면 다음과 같습니다.C#string[] stringArray = new string[6]; 배열 초기화선언 시 배열을 초기화할 수 있으며, 이런 경우 차수는 초기화 목록의 요소 수로 지정되므로 별도로 지정할 필요가 없습니다. 예를 들면 다음과 같습니다.C#int[] array1 = n.. 더보기 이전 1 2 3 4 5 ··· 9 다음