여전히 윈폼으로 개발을 하다보면 Webbrowser control 을 사용해서 웹 element 들을 접근하거나.. 소스를 가져올일이 생기는데, 뭔가 주기적으로 자동화하거나, 또는 알림( 오류 또는 Alert) 등을 무시하고….…
고차함수(Callback)을 사용하는 C# 코드 예제 고차 함수(Higher-Order Function)는 다른 함수를 매개변수로 받거나 결과로 반환하는 함수를 의미합니다. 프로그래밍 언어에서 고차 함수는 함수 자체를 데이터로…
using System; using System.Threading; namespace ConsoleApp4 { class Program { private static int count; …
Custom Attribute 를 이용한 WebAPI 인증 <서버 Side> ㆍ인증에 필요한 클래스 , 메서드등에 Attribute 를 사용하여, 사용전 인증을 거친 클라이언트만 접근 가능하도록 한다. ㆍAttribute 에서…
Custom Attribute 작성하기 ㆍAttribute 클래스 상속 받는다. ㆍAttributeUsage 클래스로 attribute 가 사용될 속성 들을 정의한다. (사용범위 및 Inherited , AllowMultiple) ㆍAttributeUsage(옵션)의 옵션에서 AttributeTarget 열거형으로 attribute…
IEnumerable , IEnumerator 일반적으로 한 번에 많은 자료를 다루기 위해서 Array ,List 및 Dictionary 처럼 배열 구조를 가지는 Collection 객체들을 활용한다. 그리고 그 객체들을 순차/반복적인…
속성 (Property) using System; using System.Collections; using System.Collections.Generic; namespace AutoProperty { class Program { public static void…




Views Today : 77
Views Yesterday : 36
Views This Month : 320
Views This Year : 20976
Total views : 79594
Who's Online : 0