<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Steveluo's Blog</title>
	<atom:link href="http://steveluo.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://steveluo.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 23 Aug 2009 04:24:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='steveluo.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Steveluo's Blog</title>
		<link>http://steveluo.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://steveluo.wordpress.com/osd.xml" title="Steveluo&#039;s Blog" />
	<atom:link rel='hub' href='http://steveluo.wordpress.com/?pushpress=hub'/>
		<item>
		<title>C#, Java, C++ Performance</title>
		<link>http://steveluo.wordpress.com/2009/08/23/c-java-c-performance/</link>
		<comments>http://steveluo.wordpress.com/2009/08/23/c-java-c-performance/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 03:39:51 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=84</guid>
		<description><![CDATA[1) C#, Java and C++ Microbenchmarking C++, C#, and Java   (DDJ 2005 ) C# versus C++ versus Java performance comparison Java Performance The Computer Language Benchmarks Game Debunking C# vs C++ Performance 2) for C# Only Compiling .NET to Machine Code How to Write High-Performance C# Code &#124; .NET Developer&#8217;s Journal (2004) Performance (C#) (MSDN) Effective C# [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=84&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1) C#, Java and C++<br />
<a href="http://www.ddj.com/cpp/184401976?pgno=1">Microbenchmarking C++, C#, and Java</a>   (DDJ 2005 )<br />
<a href="http://reverseblade.blogspot.com/2009/02/c-versus-c-versus-java-performance.html">C# versus C++ versus Java performance comparison</a><br />
<a href="http://en.wikipedia.org/wiki/Java_performance">Java Performance</a><br />
<a rel="nofollow" href="http://shootout.alioth.debian.org/">The Computer Language Benchmarks Game</a><br />
<a title="Debunking C# vs C++ Performance" rel="bookmark" href="http://journal.stuffwithstuff.com/2009/01/03/debunking-c-vs-c-performance/">Debunking C# vs C++ Performance</a></p>
<p>2) for C# Only<br />
<a href="http://www.nuclex.org/pages/compiling-dotnet-to-machine-code">Compiling .NET to Machine Code</a><br />
<a href="http://dotnet.sys-con.com/node/46342">How to Write <em>High</em>-<em>Performance C#</em> Code | .NET Developer&#8217;s Journal</a> (2004)<br />
<a href="http://msdn.microsoft.com/en-us/library/ms173196(VS.80).aspx">Performance (C#)</a> (MSDN)<br />
<span id="ctl00_MC_AR_ctl01_MAS"><strong><a id="ctl00_MC_AR_ctl01_AT" href="http://steveluo.wordpress.com/KB/cs/effectivecspart1.aspx">Effective C# &#8211; Part I</a></strong> <br />
<span id="ctl00_MC_AR_ctl02_MAS"><strong><a id="ctl00_MC_AR_ctl02_AT" href="http://steveluo.wordpress.com/KB/cs/WritefriendlierCodeGC.aspx">How to write friendlier code for the Garbage Collector and to gain performance boost</a></strong><br />
<a href="http://steveluo.wordpress.com/blogs/gregyoung/archive/2006/06/11/146343.aspx">An in depth look at for loops</a>  and <a href="http://steveluo.wordpress.com/blogs/gregyoung/archive/2006/06/12/146372.aspx">For loop follow up (Disagreeing with Richter?!)</a></span></span><br />
3) example<br />
<a href="http://netcode.ru/dotnet/?lang=&amp;katID=30&amp;skatID=261&amp;artID=7098">High-Performance Timer in C# / General / C# </a>  [<a href="http://www.worldofasp.net/tut/counter_class/High_Performance_Counter_class_in_csharp_342.aspx">another</a>]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=84&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/08/23/c-java-c-performance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>Linq (3)</title>
		<link>http://steveluo.wordpress.com/2009/08/19/linq-3/</link>
		<comments>http://steveluo.wordpress.com/2009/08/19/linq-3/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 02:22:40 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/2009/08/19/linq-3/</guid>
		<description><![CDATA[I posted the question and get an answer Hi I get the followwing direcories by calling GetDirectories() c:\app\20090331\ c:\app\20090430\ c:\app\20090531\ c:\app\20090630\ c:\app\20090731\ c:\app\20090831\ I want to the directories between 20090531 and 20090731, How can I do it by Linq? the answer is var query = directories .Where(x =&#62; { return (String.Compare(x, @&#8221;c:\app\20090531&#8243;) &#62; 0 &#38;&#38; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=81&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I posted the question and get an answer<br />
Hi I get the followwing direcories by calling GetDirectories()</p>
<p>c:\app\20090331\<br />
c:\app\20090430\<br />
c:\app\20090531\<br />
c:\app\20090630\<br />
c:\app\20090731\<br />
c:\app\20090831\</p>
<p>I want to the directories between 20090531 and 20090731, How can I do it by Linq?<br />
the <a href="http://stackoverflow.com/questions/1291389/linq-to-filter-directories">answer </a>is<br />
var query = directories .Where(x =&gt; { return (String.Compare(x, @&#8221;c:\app\20090531&#8243;) &gt; 0 &amp;&amp; String.Compare(x, @&#8221;c:\app\20090731&#8243;) &lt; 0) ;});</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=81&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/08/19/linq-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>What a advanced C# developer should know</title>
		<link>http://steveluo.wordpress.com/2009/07/19/what-a-advanced-c-developer-should-know/</link>
		<comments>http://steveluo.wordpress.com/2009/07/19/what-a-advanced-c-developer-should-know/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 16:43:02 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=77</guid>
		<description><![CDATA[1.  http://stackoverflow.com/questions/365489/questions-every-net-developer-should-be-able-to-answer 2. http://stackoverflow.com/questions/1099621/what-all-should-an-expert-c-net-wpf-developer-know 3. &#8220;What Great .NET Developers Ought To Know&#8221;,<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=77&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1.  <a href="http://stackoverflow.com/questions/365489/questions-every-net-developer-should-be-able-to-answer">http://stackoverflow.com/questions/365489/questions-every-net-developer-should-be-able-to-answer</a><br />
2. <a href="http://stackoverflow.com/questions/1099621/what-all-should-an-expert-c-net-wpf-developer-know">http://stackoverflow.com/questions/1099621/what-all-should-an-expert-c-net-wpf-developer-know</a><br />
3. <a rel="nofollow" href="http://www.hanselman.com/blog/WhatGreatNETDevelopersOughtToKnowMoreNETInterviewQuestions.aspx">&#8220;What Great .NET Developers Ought To Know&#8221;</a>,</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=77&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/07/19/what-a-advanced-c-developer-should-know/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>Linq(2) to DataTable</title>
		<link>http://steveluo.wordpress.com/2009/07/19/linq2-to-datatable/</link>
		<comments>http://steveluo.wordpress.com/2009/07/19/linq2-to-datatable/#comments</comments>
		<pubDate>Sun, 19 Jul 2009 03:28:39 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=65</guid>
		<description><![CDATA[Generally we need get an  initial dataset  from Database by Sql   and then use  linq to filter it again to serve different purposes.   the article show how to create a tableView based on linq: EnumerableRowCollection query                  = from customer in dtCustomer.AsEnumerable()                    where customer.Field(&#8220;State&#8221;) == &#8220;NJ&#8221;                   select customer;                DataView njview = query.AsDataView();   the chapter Chapter 14 in LinQ in Action gives us the details.  and Other examples on the web [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=65&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Generally we need get an  initial dataset  from Database by Sql   and then use  linq to filter it again to serve different purposes.   the <a href="http://dotnetarchitect.wordpress.com/2009/03/18/using-linq-to-manipulate-data-in-datasetdatatable/">article </a>show how to create a tableView based on linq:</p>
<li><span>EnumerableRowCollection query   </span></li>
<li><span>              = from customer </span><span>in</span><span> dtCustomer.AsEnumerable()   </span></li>
<li><span>                where customer.Field(</span><span>&#8220;State&#8221;</span><span>) == </span><span>&#8220;NJ&#8221;</span><span>  </span></li>
<li><span>                select customer;   </span></li>
<li><span>            DataView njview = query.AsDataView();  
<p>the chapter <a href="http://www.manning-source.com/books/marguerie/bonusch14.pdf">Chapter 14</a> in LinQ in Action gives us the details.  and Other </span><a href="http://www.sivakesh.com/post/2008/10/LINQ-to-DataTable.aspx">examples </a>on the web and Linq to DataTable  <a href="http://blogs.msdn.com/aconrad/archive/2007/09/07/science-project.aspx">example1</a> </li>
<p>Points to understand Linq:  (from Joseph Rattz&#8217;s book)<br />
1)  linq, a query, <span style="font-size:xx-small;font-family:Utopia-Regular;"><span style="font-size:xx-small;font-family:Utopia-Regular;"> returnes set of objects is called a </span></span><span style="font-size:xx-small;font-family:Utopia-Italic;"><span style="font-size:xx-small;font-family:Utopia-Italic;"><em>sequence</em></span></span><span style="font-size:xx-small;font-family:Utopia-Regular;"><span style="font-size:xx-small;font-family:Utopia-Regular;"><em>.</em>  Most linq sequences are of type </span></span><em><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;">IEnumerable&lt;T&gt;<br />
</span></span></em>2)  <span style="font-size:xx-small;font-family:Utopia-Regular;"><span style="font-size:xx-small;font-family:Utopia-Regular;">a lambda expression in C# with format:   <br />
         a) </span></span><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;">(param1, param2, …paramN) =&gt; expr<br />
         b)  </span></span><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;">(param1, param2, …paramN) =&gt;   {   statement1; statement2; … statementN; return(lambda_expression_return_type); }<br />
       e.g:    </span></span><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;">x =&gt; x.Length &gt; 0   could be read as   </span></span><span style="font-size:xx-small;font-family:Utopia-Regular;"><span style="font-size:xx-small;font-family:Utopia-Regular;">“input </span></span><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;">x </span></span><span style="font-size:xx-small;font-family:Utopia-Regular;"><span style="font-size:xx-small;font-family:Utopia-Regular;">returns </span></span><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;">x.Length &gt; 0</span></span><span style="font-size:xx-small;font-family:Utopia-Regular;"><span style="font-size:xx-small;font-family:Utopia-Regular;">.”</span></span></p>
<p>L<a href="http://www.hookedonlinq.com/Resources.ashx?Code=1">inq Wiki</a><br />
<a href="http://bloggingabout.net/blogs/dennis/archive/2008/02/29/getting-data-from-excel-the-fast-way-using-linq.aspx">get data from Excel by linq</a></p>
<p><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"><a href="http://bloggingabout.net/blogs/dennis/archive/2008/02/29/getting-data-from-excel-the-fast-way-using-linq.aspx"> </a></span></p>
<p> </p>
<p><span style="font-size:xx-small;font-family:TheSansMonoConSemiLight;"> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=65&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/07/19/linq2-to-datatable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>LINQ</title>
		<link>http://steveluo.wordpress.com/2009/04/11/linq/</link>
		<comments>http://steveluo.wordpress.com/2009/04/11/linq/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 18:47:00 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=61</guid>
		<description><![CDATA[1) How to use Aggregate functions with LINQ to SQL 2) http://www.linqpad.net/ 3)  Chasing Tail: C# needs Linq to be (really) functional language 4 microsoft 101 samples 5: 7 tricks to simplify your programs with LINQ &#124; Igor Ostrovsky Blogging<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=61&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1) <a title="How to use Aggregate functions with LINQ to SQL" href="http://www.dev102.com/2008/04/16/how-to-use-aggregate-functions-with-linq-to-sql/"><span style="font-size:large;color:#710c17;">How to use Aggregate functions with LINQ to SQL </span></a><br />
2) <a href="http://www.linqpad.net/">http://www.linqpad.net/</a><br />
3)  <a class="l" href="http://gaussc.blogspot.com/2008/11/c-is-functional-language-but.html"><span style="font-size:small;color:#551a8b;">Chasing Tail: C# needs <strong>Linq</strong> to be (really) functional language</span></a></p>
<p>4<a href="http://msdn.microsoft.com/en-us/vcsharp/aa336746.aspx"> microsoft 101 samples </a></p>
<p>5: <a class="l" href="http://igoro.com/archive/7-tricks-to-simplify-your-programs-with-linq/"><span style="font-size:small;color:#551a8b;">7 <strong>tricks</strong> to simplify your programs with <strong>LINQ</strong> | Igor Ostrovsky Blogging</span></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/61/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/61/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/61/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=61&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/04/11/linq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>DataTable to Excel</title>
		<link>http://steveluo.wordpress.com/2009/04/10/datatable-to-excel/</link>
		<comments>http://steveluo.wordpress.com/2009/04/10/datatable-to-excel/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 14:05:14 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=58</guid>
		<description><![CDATA[1) cliperboard    http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23003697.html 2) CSV file     http://gis.utah.gov/code-c-/c-convert-ado-net-datatable-to-excel-spreadsheet-3 3) interop 4)  XML ds as new dataset ds.tables.add(yourtable) ds.writexml(&#8220;yourfile&#8221;)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=58&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1) cliperboard<br />
   <a href="http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23003697.html">http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23003697.html</a><br />
2) CSV file<br />
    <a href="http://gis.utah.gov/code-c-/c-convert-ado-net-datatable-to-excel-spreadsheet-3">http://gis.utah.gov/code-c-/c-convert-ado-net-datatable-to-excel-spreadsheet-3</a><br />
3) interop</p>
<p>4)  XML<br />
ds as new dataset<br />
ds.tables.add(yourtable)<br />
ds.writexml(&#8220;yourfile&#8221;)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=58&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/04/10/datatable-to-excel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF basics</title>
		<link>http://steveluo.wordpress.com/2009/03/15/wpf-basics/</link>
		<comments>http://steveluo.wordpress.com/2009/03/15/wpf-basics/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 18:16:10 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=49</guid>
		<description><![CDATA[Dependency Property (Notes from WPF unleashed  p45-57) dependency properties add value on top of plain .NET properties: . Change notification  &#8212; Whenever the value of a dependency property changes, WPF can automatically                                                  trigger a number of actions depending on the property’s metadata, see trigger . Property value inheritance  &#8212; flowing of property values down [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=49&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dependency Property (Notes from WPF unleashed  p45-57)</p>
<p>dependency properties add value on top of plain .NET properties:<br />
. Change notification  &#8212; Whenever the value of a dependency property changes, WPF can automatically<br />
                                                 trigger a number of actions depending on the property’s metadata, see trigger<br />
. Property value inheritance  &#8212; flowing of property values down the element tree.<br />
. Support for multiple providers  &#8212; a five-step process  (see p57)</p>
<table id="AutoNumber1" border="1" cellspacing="1" width="67%">
<tbody>
<tr>
<td colspan="2" width="100%">    want the text in each Button from the About dialog in  to turn blue when the mouse pointer hovers over it.</td>
</tr>
<tr>
<td width="62%">normal way</td>
<td width="38%">with WPF trigger</td>
</tr>
<tr>
<td width="62%">&lt;Button MouseEnter=”Button_MouseEnter” MouseLeave=”Button_MouseLeave”<br />
             MinWidth=”75” Margin=”10”&gt;Help&lt;/Button&gt;<br />
&lt;Button MouseEnter=”Button_MouseEnter” MouseLeave=”Button_MouseLeave”<br />
              MinWidth=”75” Margin=”10”&gt;OK&lt;/Button&gt;<br />
&#8230;<br />
void Button_MouseEnter(object sender, MouseEventArgs e)<br />
{<br />
        Button b = sender as Button;<br />
        if (b != null)<br />
              b.Foreground = Brushes.Blue;<br />
}<br />
// Restore the foreground to black when the mouse exits the button<br />
void Button_MouseLeave(object sender, MouseEventArgs e)<br />
{<br />
       Button b = sender as Button;<br />
       if (b != null)<br />
              b.Foreground = Brushes.Black;<br />
}</td>
<td width="38%">&lt;Trigger Property=”IsMouseOver” Value=”True”&gt;<br />
      &lt;Setter Property=”Foreground” Value=”Blue”/&gt;<br />
&lt;/Trigger&gt;</td>
</tr>
</tbody>
</table>
<p>For example, the data binding system in WPF is rooted in the <em>FrameworkElement.DataContext</em> dependency property.  The value of that property is inherited by all descendant elements. For more see <a href="http://joshsmithonwpf.wordpress.com/2007/06/22/overview-of-dependency-properties-in-wpf/">Josh&#8217;s blog</a></p>
<p>Business objects &#8211; without  dependency properties  (<a href="http://dotnetslackers.com/articles/wpf/WPFDataBindingWithLINQ.aspx">see the details </a>)  <br />
For a business object being bound, there are certain requirements for automatic change notification. There are three approaches you can take:</p>
<ul>
<li>Implement dependency properties in your business object. </li>
<li>Raise an event named <code>&lt;Property</code> <code>Name&gt;Changed</code>. This event must match the property name, and the class must raise the event.</li>
<li>Implement the <code>INotifyPropertyChanged</code> in the <code>System.ComponentModel</code> namespace. This interface defines a <code>PropertyChanged</code> event. The business object must fire this event every time any property value changes.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=49&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/03/15/wpf-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>SAPI</title>
		<link>http://steveluo.wordpress.com/2009/03/14/sapi/</link>
		<comments>http://steveluo.wordpress.com/2009/03/14/sapi/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 03:22:45 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=44</guid>
		<description><![CDATA[I ran into speech demo Programming Speech in WPF &#8211; Speech Synthesis  which is based on Speech Application Programming Interface or SAPI  SDK  5.3  and found sound quality is not good because Xp default voice engine is   Mircrosoft  Sam (you can find what voice engines have been installed on the computer by following Control Panel-&#62;Speech-&#62;Speech [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=44&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>I ran into speech demo </strong><a class="l" href="http://www.c-sharpcorner.com/UploadFile/mahesh/SpeechWPF09302008223352PM/SpeechWPF.aspx"><span style="font-size:small;color:#551a8b;">Programming <strong>Speech</strong> in <strong>WPF</strong> &#8211; <strong>Speech</strong> Synthesis</span></a>  which is based on <a href="http://en.wikipedia.org/wiki/Speech_Application_Programming_Interface"><strong>Speech Application Programming Interface</strong> </a>or <strong>SAPI</strong>  SDK  5.3  and found sound quality is not good because Xp default voice engine is  <br />
Mircrosoft  Sam (you can find what voice engines have been installed on the computer by following Control Panel-&gt;Speech-&gt;Speech Properties-&gt;Text To Speech tab-&gt;Voice selection drop down window)<br />
Try to download Microsoft Anna for my XP.</p>
<p><a href="http://blogs.msdn.com/chuckop/archive/2008/07/30/enumerating-tts-engines-using-system-speech-synthesizer.aspx">from </a><br />
<span style="color:#2b91af;">SpeechSynthesizer </span>ttsSynth = <span style="color:blue;">new </span><span style="color:#2b91af;">SpeechSynthesizer</span>();<br />
 ttsSynth.SelectVoice(<span style="color:#a31515;">&#8220;Microsoft Anna&#8221;</span>);<br />
//ttsSynth.Volume =  //ttsSynth.Rate <br />
 ttsSynth.Speak(<span style="color:#a31515;">&#8220;Greetings, my name is &#8221; </span>+ ttsSynth.Voice.Name);</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=44&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/03/14/sapi/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>WPF Resources &#8212; open source</title>
		<link>http://steveluo.wordpress.com/2009/03/13/wpf-resources-open-source/</link>
		<comments>http://steveluo.wordpress.com/2009/03/13/wpf-resources-open-source/#comments</comments>
		<pubDate>Fri, 13 Mar 2009 00:48:20 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[WPF]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=41</guid>
		<description><![CDATA[2D/3D Chart :   visifire<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=41&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>2D/3D Chart :<br />
  <a href="http://www.visifire.com/">visifire</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=41&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/03/13/wpf-resources-open-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
		<item>
		<title>Back to Basics (3)</title>
		<link>http://steveluo.wordpress.com/2009/03/08/back-to-basics-3/</link>
		<comments>http://steveluo.wordpress.com/2009/03/08/back-to-basics-3/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 18:11:11 +0000</pubDate>
		<dc:creator>steveluo</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://steveluo.wordpress.com/?p=37</guid>
		<description><![CDATA[Event An event is a message sent by an object to signal the occurrence of an action (such as mouse click, or some program logic). event sender:      The object that raises the event event receiver:   The object that captures the event and responds to it A delegate is thus equivalent to a type-safe function pointer or a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=37&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/17sde2xt.aspx">Event </a><br />
An event is a message sent by an object to signal the occurrence of an action (such as mouse click, or some program logic).<br />
event sender:      The object that raises the event<br />
event receiver:   The object that captures the event and responds to it</p>
<p>A delegate is thus equivalent to a type-safe function pointer or a callback</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/steveluo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/steveluo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/steveluo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/steveluo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/steveluo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/steveluo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/steveluo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/steveluo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/steveluo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/steveluo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/steveluo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/steveluo.wordpress.com/37/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/steveluo.wordpress.com/37/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/steveluo.wordpress.com/37/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=steveluo.wordpress.com&amp;blog=6628639&amp;post=37&amp;subd=steveluo&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://steveluo.wordpress.com/2009/03/08/back-to-basics-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/55b708c5a42ea2c4f51fdd5b6f497e49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">steveluo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
