라벨이 example인 게시물 표시

C# CSV Reader with Linq

using System; using System.ComponentModel; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using LumenWorks.Framework.IO.Csv; public class CsvQueryReader<TEntry> : IDisposable where TEntry : struct {     private CsvReader m_csvReader;     private FieldTypeInfo[] m_fieldTypeInfos;     private bool m_isDisposed = false;     public CsvQueryReader(string path, Encoding encoding, Boolean hasHeader)     {         m_csvReader = new CsvReader(new StreamReader(path, encoding), hasHeader);         Initialize();     }     public CsvQueryReader(Stream stream, Encoding encoding, Boolean hasHeader)     {         m_csvReader = new CsvReader(new StreamReader(stream, encoding), hasHeader);      ...

C# 쓰레드에서 UI 속성 변경하기...

아래의 코드는 C# 쓰레드 상에서 UI 콘트롤의 속성을 변경할 때 cross thread 오류를 방지하는 코드의 예이다.         private delegate void ChangeProgressValueDelegate(Int32 val);         private void ChangeProgressValue(Int32 val)         {             pbBurning.Value = val;         }         private void DoProgressThread(Object stateInfo)         {             Int32 i = 1;             while (true)             {                 if (pbBurning.ProgressBar.InvokeRequired)                 {                     pbBurning.ProgressBar.Invoke(new ChangeProgressValueDelegate(ChangeProgressVa...

101 LINQ Samples

http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx Above link is MS's official site for the Linq samples.

LINQ with C# Objects, Collections and Arrays

http://www.brettb.com/SQL_Help_Rowcount_Rows_Affected.asp How to use the Linq in C# ?

Learning C# by Example

여기 를 따라가 보자... 엄청 유용한 C# 관련 소스들이 넘쳐나는 곳... 우~와^^..