<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>I&#039;m CaLendarW Blog &#187; c#</title>
	<atom:link href="http://wongkalun.idv.hk/tag/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://wongkalun.idv.hk</link>
	<description>任何時間，都要用內心既一點光，照亮世界</description>
	<lastBuildDate>Wed, 07 Dec 2011 15:39:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>yield keyword</title>
		<link>http://wongkalun.idv.hk/2009/10/29/yield-keyword/</link>
		<comments>http://wongkalun.idv.hk/2009/10/29/yield-keyword/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 16:18:59 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=627</guid>
		<description><![CDATA[近期因為睇 ASP.net MVC 既 example, 中途見到 yield keyword 既 usage, 感覺上幾好用, 以學多個 keyword 既原則黎講, 我當然會在 project 中試用, 當中既 validation 用法我覺得幾好. 但當我想在 project 度用果時, 開始感覺到麻煩, 因為本身個 project 係要在 .net 2.0 既環境下運作, 而 IEnumerable.Count 係未有支援, 而且無 extension methods 既支援, 所以要另外寫個 class 黎 handle 呢樣野都幾麻煩, 因此我都無乜 idea 在其他方面可以實際上使用得適當&#8230;&#8230; dtsv.dtse_post_627_permalink = 'http://wongkalun.idv.hk/2009/10/29/yield-keyword/'; dtsv.dtse_post_627_title = 'yield keyword';]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/10/29/yield-keyword/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>List.Sort &#8211; Lambda Expression Way</title>
		<link>http://wongkalun.idv.hk/2009/08/18/list-sort-lambda-expression-way/</link>
		<comments>http://wongkalun.idv.hk/2009/08/18/list-sort-lambda-expression-way/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 15:52:40 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[sort]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=681</guid>
		<description><![CDATA[呢期研究既 delegation, 其中一個例子係 Lambda 在 List.Sort 既使用. 有了這樣既 syntax, 寫 sorting 易左同快捷左很多~~ dtsv.dtse_post_681_permalink = 'http://wongkalun.idv.hk/2009/08/18/list-sort-lambda-expression-way/'; dtsv.dtse_post_681_title = 'List.Sort – Lambda Expression Way';]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/08/18/list-sort-lambda-expression-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# as operator</title>
		<link>http://wongkalun.idv.hk/2009/08/04/csharp-as-operator/</link>
		<comments>http://wongkalun.idv.hk/2009/08/04/csharp-as-operator/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 15:44:16 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=665</guid>
		<description><![CDATA[as operator 係用黎做 casting 的 如果用 boxing 黎轉 type 既話, 錯 type 的話就會 throw InvalidCastException, 但如果用 as operator 就唔會 throw InvalidCastException, 而 value 就會係 null dtsv.dtse_post_665_permalink = 'http://wongkalun.idv.hk/2009/08/04/csharp-as-operator/'; dtsv.dtse_post_665_title = 'C# as operator';]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/08/04/csharp-as-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# ?? null coalescing operator</title>
		<link>http://wongkalun.idv.hk/2009/07/23/c-null-coalescing-operator/</link>
		<comments>http://wongkalun.idv.hk/2009/07/23/c-null-coalescing-operator/#comments</comments>
		<pubDate>Thu, 23 Jul 2009 15:29:44 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=654</guid>
		<description><![CDATA[null coalescing operator &#8211; ?? 係用黎決定參數是否 null 既算式, 自 C# 2.0 開始支援, 作為 null 既使用簡化. 長度上係短左, 識既人會易睇左. 另一方面, 通常既用法會同 Nullable 一齊用, 但自己平時無乜用開 Nullable, 所以對此無乜 comment (知道有呢樣野, 但唔知咩情況用先叫做適合, 所以都未用過. dtsv.dtse_post_654_permalink = 'http://wongkalun.idv.hk/2009/07/23/c-null-coalescing-operator/'; dtsv.dtse_post_654_title = 'C# ?? null coalescing operator';]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/07/23/c-null-coalescing-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Timer for Performance Testing</title>
		<link>http://wongkalun.idv.hk/2009/05/13/timer-for-performance-testing/</link>
		<comments>http://wongkalun.idv.hk/2009/05/13/timer-for-performance-testing/#comments</comments>
		<pubDate>Tue, 12 May 2009 16:07:18 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[nunit]]></category>
		<category><![CDATA[test-driven]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=532</guid>
		<description><![CDATA[呢排重溫緊 Pragmatic Unit Testing in C# with Nunit, 開始試緊寫有關 Performance 既 Test Case, 書中有一段有關 Performance 既 Code: 段 code 係一個幾好既 example 去講點 Test Performance, 但當真係要試果陣, 就發現左樣野, 就係我搵唔到 Code 中既 Timer Class, 係我在 System 入面既幾個 namespace 中, 都搵唔到啱用既 Timer, 因為 System namespace 入面既 Timer 大部份都係用黎 Trigger Timeout Event, 而當中既 Stop method 都只係用黎停止 Event Trigger, 而沒有任何計時結果做到出黎, 所以經過一輪網上既搜尋之後, [...]]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/05/13/timer-for-performance-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Automate Test?</title>
		<link>http://wongkalun.idv.hk/2009/04/15/why-automate-test/</link>
		<comments>http://wongkalun.idv.hk/2009/04/15/why-automate-test/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 15:19:57 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[design]]></category>
		<category><![CDATA[diary]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[nunit]]></category>
		<category><![CDATA[test-driven]]></category>
		<category><![CDATA[建議]]></category>
		<category><![CDATA[精華]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=444</guid>
		<description><![CDATA[Test Driven Development, 係以測試來驅動程式既設計, 目的係為了提高軟件既質素. 好多人覺得測試對軟件方面只在於用戶接受測試 (UAT), 因為只要通過 UAT, 公司就可以袋袋平安. 不過, UAT 通常都浪費人手, 而且該次 UAT 只計對於該次既軟件需求, 當需求需要更改, 所有既測試都要人手重頭做過, 浪費人力物力. 自動化軟件測試既好處係可以減省人手及時間, 以及提高軟件既質素及完整度. 以下係一個由 NUnit 提供既自動化測試例子: 以上只係其中一個例子用來測試軟件既完成度, 在現實上, Test Case 除左要測驗一般情況外, 仲要測試錯誤情況出來既結果, 保証軟件質素, 所以正常使用既情況係唔會得一個 Test Case 咁少. 要實行 Test Driven Development, 通常要有一個良好既 Object Oriented Design 以及 Design for Test, 如果沒有這兩個設計既技巧, 那測試既質素有可能會受影響. 愈多 Test Case 未必代表軟件的準確率愈高, 正常情況 Test [...]]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/04/15/why-automate-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# 3.0 初試!!</title>
		<link>http://wongkalun.idv.hk/2009/03/13/c-30-%e5%88%9d%e8%a9%a6/</link>
		<comments>http://wongkalun.idv.hk/2009/03/13/c-30-%e5%88%9d%e8%a9%a6/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 10:32:52 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=396</guid>
		<description><![CDATA[用左 VS 2008 其實都幾個月, 但因公司目標係 .net 2.0 既關係, 技術始終都仲停留緊係 2.0 度, 近日開始習慣緊 C# 3.0 既 syntax, 有幾個新 feature 係 2.0 platform 都幾好用. Object initializers 呢個係一個新既 contractor syntax, 可以好方便咁創建同設定 Value. 但如果個 Properties 係 private set; 既話就用唔到啦!! Lambda expressions Lambda 好好用!! 簡單, 快捷!! Automatic properties 呢個可以簡化到部份 properties, 但如果有 business logic 既話就唔係太啱用 dtsv.dtse_post_396_permalink = 'http://wongkalun.idv.hk/2009/03/13/c-30-%e5%88%9d%e8%a9%a6/'; dtsv.dtse_post_396_title = 'C# [...]]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/03/13/c-30-%e5%88%9d%e8%a9%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with Dock</title>
		<link>http://wongkalun.idv.hk/2009/02/04/working-with-dock/</link>
		<comments>http://wongkalun.idv.hk/2009/02/04/working-with-dock/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 10:16:09 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=382</guid>
		<description><![CDATA[近半年開始著重地寫 Windows Application (以前以 web 同 DLL 為主), 寫左咁耐都無用過 Control.Dock 呢個屬性, 今日第一次用, 就出左好多次序上既問題, 不過在網上找到以下既解決方案, 當解決了次序既問題後, Dock 其實係幾好用!!~~ 轉載自: 藍色小鋪 dtsv.dtse_post_382_permalink = 'http://wongkalun.idv.hk/2009/02/04/working-with-dock/'; dtsv.dtse_post_382_title = 'Working with Dock';]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2009/02/04/working-with-dock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Today finding</title>
		<link>http://wongkalun.idv.hk/2008/11/17/today-finding-16/</link>
		<comments>http://wongkalun.idv.hk/2008/11/17/today-finding-16/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 15:14:12 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[daily finding]]></category>
		<category><![CDATA[add-in]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[visualstudio]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=298</guid>
		<description><![CDATA[Visual Studio .NET C# Add-In by DevExpress Available Free of Charge Support Visual Studio 2008 but I haven&#8217;t it yet. 15 Useful Project Management Tools Start to use trac now!! for myself. An Overview of C# 4.0 It&#8217;s too freedom&#8230;&#8230; and not good for beginner!! dtsv.dtse_post_298_permalink = 'http://wongkalun.idv.hk/2008/11/17/today-finding-16/'; dtsv.dtse_post_298_title = 'Today finding';]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2008/11/17/today-finding-16/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implement State of View</title>
		<link>http://wongkalun.idv.hk/2008/08/03/implement-state-of-view/</link>
		<comments>http://wongkalun.idv.hk/2008/08/03/implement-state-of-view/#comments</comments>
		<pubDate>Sun, 03 Aug 2008 10:39:56 +0000</pubDate>
		<dc:creator>calendarw</dc:creator>
				<category><![CDATA[coding snippet]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://wongkalun.idv.hk/?p=124</guid>
		<description><![CDATA[平時寫介面(GUI), 通常會寫一個 method 叫 StateChange 黎處理所有介面上既所有 visible 同 enable 既動作. 而自己會因介面既設計而定義一個 private enum 既 State, 所有 state 由一個 method 做晒. 而我自己寫過既 State 都有幾隻: 同一版有個所有 Item 既 List 而 Edit box 得 Add 同 Update 一版得主要係用黎 Insert 既: 同埋得睇同改既: 仲有好多其他既 State 寫過, 不過都太過多同太專門, 所以應該係按照實際用途而加. 網上曾經見過有人用 State object 同 State Pattern 黎做, 對我而言好似用係 GUI 方面未必真係有咁既需要, 但對一個 domain [...]]]></description>
		<wfw:commentRss>http://wongkalun.idv.hk/2008/08/03/implement-state-of-view/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

