<?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>CodeCopy</title>
	<atom:link href="http://codecopy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://codecopy.wordpress.com</link>
	<description>.Net Code Examples</description>
	<lastBuildDate>Tue, 03 Jan 2012 07:07:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='codecopy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>CodeCopy</title>
		<link>http://codecopy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://codecopy.wordpress.com/osd.xml" title="CodeCopy" />
	<atom:link rel='hub' href='http://codecopy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Error while copying a Database</title>
		<link>http://codecopy.wordpress.com/2012/01/03/error-while-copying-a-database/</link>
		<comments>http://codecopy.wordpress.com/2012/01/03/error-while-copying-a-database/#comments</comments>
		<pubDate>Tue, 03 Jan 2012 07:07:35 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">https://codecopy.wordpress.com/?p=325</guid>
		<description><![CDATA[If you receive a “Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferDatabasesUsingSMOTransfer()” or “End of package execution.” while trying to copy a database on the MSSQL Server. The reason can be that a file with the new Database name already exist on the filesystem. We encountered this when we renamed Database X to X_Old, and tried to copy database Y to X. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=325&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you receive a “Microsoft.SqlServer.Dts.Tasks.TransferObjectsTask.TransferObjectsTask.TransferDatabasesUsingSMOTransfer()” or “End of package execution.” while trying to copy a database on the MSSQL Server.</p>
<p>The reason can be that a file with the new Database name already exist on the filesystem. We encountered this when we renamed Database X to X_Old, and tried to copy database Y to X. This cannot be done, because database X_Old is still associated with the filename X.</p>
<p>Either delete the conflicting database, or rename the file on the file system.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/325/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/325/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/325/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=325&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2012/01/03/error-while-copying-a-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>
	</item>
		<item>
		<title>WP7 Pinch and Pan Zoom an Image</title>
		<link>http://codecopy.wordpress.com/2011/12/15/wp7-pinch-and-pan-zoom-an-image/</link>
		<comments>http://codecopy.wordpress.com/2011/12/15/wp7-pinch-and-pan-zoom-an-image/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 13:56:42 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">https://codecopy.wordpress.com/?p=310</guid>
		<description><![CDATA[Here’s how to implement Pinch to Zoom and Pan on an Image Control – using the WP7 toolkit. ( Thanks to Alvaro Peon for this great solution  ) Remember allways to add CacheMode=&#8221;BitmapCache&#8221; to you Image for performance XAML: C# Codebehind:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=310&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here’s how to implement Pinch to Zoom and Pan on an Image Control – using the WP7 toolkit. ( Thanks to <a href="http://alvaropeon.wordpress.com/2011/03/10/implementing-pinch-to-zoom-images-in-wp7/">Alvaro Peon</a> for this great solution  )</p>
<p>Remember allways to add <span class="attr">CacheMode</span><span class="kwrd">=&#8221;BitmapCache&#8221; to you Image for performance <img class="wlEmoticon wlEmoticon-openmouthedsmile" src="http://codecopy.files.wordpress.com/2011/12/wlemoticon-openmouthedsmile.png" alt="Open-mouthed smile" /></span></p>
<h4>XAML:</h4>
<p><pre class="brush: xml;">

&lt;Image HorizontalAlignment=&quot;Left&quot; Name=&quot;photo&quot; Stretch=&quot;Uniform&quot; VerticalAlignment=&quot;Top&quot; Source=&quot;Image.png&quot; CacheMode=&quot;BitmapCache&quot;&gt;
&lt;Image.RenderTransform&gt;
&lt;CompositeTransform x:Name=&quot;ImageTransformation&quot; ScaleX=&quot;1&quot; ScaleY=&quot;1&quot; /&gt;
&lt;/Image.RenderTransform&gt;
&lt;toolkit:GestureService.GestureListener&gt;
&lt;toolkit:GestureListener PinchStarted=&quot;GestureListener_PinchStarted&quot; PinchDelta=&quot;OnPinchDelta&quot; DragDelta=&quot;Image_DragDelta&quot; /&gt;
&lt;/toolkit:GestureService.GestureListener&gt;
&lt;/Image&gt;

</pre></p>
<h4>C# Codebehind:</h4>
<p><pre class="brush: csharp;">

private Point Center;
private double InitialScale;

private void GestureListener_PinchStarted(object sender, PinchStartedGestureEventArgs e)
{
// Store the initial rotation angle and scaling
InitialScale = ImageTransformation.ScaleX;
// Calculate the center for the zooming
Point firstTouch = e.GetPosition(Image_LargeImage, 0);
Point secondTouch = e.GetPosition(Image_LargeImage, 1);

Center = new Point(firstTouch.X + (secondTouch.X - firstTouch.X) / 2.0, firstTouch.Y + (secondTouch.Y - firstTouch.Y) / 2.0);
}

private void OnPinchDelta(object sender, PinchGestureEventArgs e)
{
// If its less that the original  size or more than 4x then don’t apply
if (InitialScale * e.DistanceRatio &gt; 4 || (InitialScale != 1 &amp;&amp; e.DistanceRatio == 1) || InitialScale * e.DistanceRatio &lt; 1)
return;

// If its original size then center it back
if (e.DistanceRatio &lt;= 1.08)
{
ImageTransformation.CenterY = 0;
ImageTransformation.CenterY = 0;
ImageTransformation.TranslateX = 0;
ImageTransformation.TranslateY = 0;
}

ImageTransformation.CenterX = Center.X;
ImageTransformation.CenterY = Center.Y;

// Update the rotation and scaling
if (this.Orientation == PageOrientation.Landscape)
{
// When in landscape we need to zoom faster, if not it looks choppy
ImageTransformation.ScaleX = InitialScale * (1 + (e.DistanceRatio - 1) * 2);
}
else
{
ImageTransformation.ScaleX = InitialScale * e.DistanceRatio;
}
ImageTransformation.ScaleY = ImageTransformation.ScaleX;
}

private void Image_DragDelta(object sender, DragDeltaGestureEventArgs e)
{
// if is not touch enabled or the scale is different than 1 then don’t allow moving
if (ImageTransformation.ScaleX &lt;= 1.1)
return;

double centerX = ImageTransformation.CenterX;
double centerY = ImageTransformation.CenterY;
double translateX = ImageTransformation.TranslateX;
double translateY = ImageTransformation.TranslateY;
double scale = ImageTransformation.ScaleX;
double width = Image_LargeImage.ActualWidth;
double height = Image_LargeImage.ActualHeight;

// Verify limits to not allow the image to get out of area
if (centerX - scale * centerX + translateX + e.HorizontalChange &lt; 0 &amp;&amp; centerX + scale * (width - centerX) + translateX + e.HorizontalChange &gt; width)
{
ImageTransformation.TranslateX += e.HorizontalChange;
}

if (centerY - scale * centerY + translateY + e.VerticalChange &lt; 0 &amp;&amp; centerY + scale * (height - centerY) + translateY + e.VerticalChange &gt; height)
{
ImageTransformation.TranslateY += e.VerticalChange;
}

return;
}

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/310/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/310/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/310/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=310&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2011/12/15/wp7-pinch-and-pan-zoom-an-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>

		<media:content url="http://codecopy.files.wordpress.com/2011/12/wlemoticon-openmouthedsmile.png" medium="image">
			<media:title type="html">Open-mouthed smile</media:title>
		</media:content>
	</item>
		<item>
		<title>Get ClientID in a Repeater</title>
		<link>http://codecopy.wordpress.com/2011/06/22/get-clientid-in-a-repeater/</link>
		<comments>http://codecopy.wordpress.com/2011/06/22/get-clientid-in-a-repeater/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 07:23:34 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">https://codecopy.wordpress.com/2011/06/22/get-clientid-in-a-repeater/</guid>
		<description><![CDATA[Use &#60;%# Container.FindControl(&#34;Control_Name&#34;).ClientID %&#62; to get each ClientId in a Repeater’s Itemlist<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=308&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Use &lt;%# Container.FindControl(&quot;Control_Name&quot;).ClientID %&gt; to get each ClientId in a Repeater’s Itemlist</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=308&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2011/06/22/get-clientid-in-a-repeater/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>
	</item>
		<item>
		<title>Convert VB to C#</title>
		<link>http://codecopy.wordpress.com/2011/02/09/convert-vb-to-c/</link>
		<comments>http://codecopy.wordpress.com/2011/02/09/convert-vb-to-c/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 08:37:45 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">https://codecopy.wordpress.com/2011/02/09/convert-vb-to-c/</guid>
		<description><![CDATA[Just use: http://www.developerfusion.com/tools/convert/vb-to-csharp/ &#160; Awesome !<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=307&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just use:</p>
<p><a title="http://www.developerfusion.com/tools/convert/vb-to-csharp/" href="http://www.developerfusion.com/tools/convert/vb-to-csharp/">http://www.developerfusion.com/tools/convert/vb-to-csharp/</a></p>
<p>&#160;</p>
<p>Awesome !</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/307/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/307/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/307/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=307&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2011/02/09/convert-vb-to-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL paging</title>
		<link>http://codecopy.wordpress.com/2010/07/15/sql-paging/</link>
		<comments>http://codecopy.wordpress.com/2010/07/15/sql-paging/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 07:38:49 +0000</pubDate>
		<dc:creator>sterndorff</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://codecopy.wordpress.com/?p=301</guid>
		<description><![CDATA[How to fetch from a table row number 10 to 20:<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=301&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How to fetch from a table row number 10 to 20:<br />
<pre class="brush: csharp;">
SELECT [t1].*
FROM (
   SELECT ROW_NUMBER() OVER (
   ORDER BY [t0].&lt;primarykey&gt;) AS [ROW_NUMBER],  [t0].*
   FROM [dbo].[&lt;tablename&gt;] AS [t0]
) AS [t1]
WHERE [t1].[ROW_NUMBER] BETWEEN &lt;fromrow&gt; AND &lt;torow&gt;
ORDER BY [t1].[ROW_NUMBER]
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/301/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=301&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2010/07/15/sql-paging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/346cb00bd6e9984db5e39b7979ac335e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sterndorff</media:title>
		</media:content>
	</item>
		<item>
		<title>Silverlight Developer runtime not installed</title>
		<link>http://codecopy.wordpress.com/2010/07/15/silverlight-developer-runtime-not-installed/</link>
		<comments>http://codecopy.wordpress.com/2010/07/15/silverlight-developer-runtime-not-installed/#comments</comments>
		<pubDate>Thu, 15 Jul 2010 06:11:09 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">https://codecopy.wordpress.com/2010/07/15/silverlight-developer-runtime-not-installed/</guid>
		<description><![CDATA[&#160; Download the following. http://go.microsoft.com/fwlink/?LinkID=188039 The &#34;Silverlight managed debugging package&#34; is part of the developer runtime, not the SDK or Tools.&#160; Make sure you have the latest version of the developer runtime installed (available at http://go.microsoft.com/fwlink/?LinkID=188039)<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=300&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Download the following.</p>
<p><b><a href="http://go.microsoft.com/fwlink/?LinkID=188039">http://go.microsoft.com/fwlink/?LinkID=188039</a></b></p>
<p><b>The &quot;Silverlight managed debugging package&quot; is part of the developer runtime, not the SDK or Tools.&#160; Make sure you have the latest version of the developer runtime installed (available at <a href="http://go.microsoft.com/fwlink/?LinkID=188039">http://go.microsoft.com/fwlink/?LinkID=188039</a>)</b></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/300/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/300/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/300/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=300&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2010/07/15/silverlight-developer-runtime-not-installed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>
	</item>
		<item>
		<title>Excecute on UIThread</title>
		<link>http://codecopy.wordpress.com/2010/03/16/excecute-on-uithread/</link>
		<comments>http://codecopy.wordpress.com/2010/03/16/excecute-on-uithread/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 20:56:53 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://codecopy.wordpress.com/2010/03/16/excecute-on-uithread/</guid>
		<description><![CDATA[Just use: Execute.OnUIThread(()=&#62;{DoStuff();} );<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=296&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just use: Execute.OnUIThread(()=&gt;{DoStuff();} );</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/296/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/296/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/296/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=296&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2010/03/16/excecute-on-uithread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>
	</item>
		<item>
		<title>To enable Snapshot Transactions in MS-SQL 2005+</title>
		<link>http://codecopy.wordpress.com/2010/03/15/to-enable-snapshot-transactions-in-ms-sql-2005/</link>
		<comments>http://codecopy.wordpress.com/2010/03/15/to-enable-snapshot-transactions-in-ms-sql-2005/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 08:37:28 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://codecopy.wordpress.com/2010/03/15/to-enable-snapshot-transactions-in-ms-sql-2005/</guid>
		<description><![CDATA[If you have problems with transactions locking your tables, you might want to use Snapshot transactions. Snapshot transactions work like this: When the SNAPSHOT isolation level is enabled, each time a row is updated, the SQL Server Database Engine stores a copy of the original row in tempdb, and adds a transaction sequence number to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=292&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you have problems with transactions locking your tables, you might want to use Snapshot transactions.</p>
<p>Snapshot transactions work like this:</p>
<p>When the <strong>SNAPSHOT</strong> isolation level is <strong>enabled</strong>, each time a row is updated, the SQL Server Database Engine stores a <strong>copy of the original row in tempdb</strong>, and adds a transaction sequence number to the row.</p>
<p>This ensures that the table is <strong>not locked</strong> while in tranaction(s).</p>
<p>If a snapshot transaction attempts to commit an update to a row that was changed after the transaction began, the transaction is rolled back, and an error is raised.</p>
<p>To enable it, use following script ( This will not hang like other examples )</p>
<p>declare @sql varchar(8000)</p>
<p>select @sql = &#8216;<br />
ALTER DATABASE Libomcore SET SINGLE_USER WITH ROLLBACK<br />
IMMEDIATE ;<br />
ALTER DATABASE Libomcore SET READ_COMMITTED_SNAPSHOT ON;<br />
ALTER DATABASE Libomcore SET MULTI_USER;<br />
ALTER DATABASE Libomcore SET ALLOW_SNAPSHOT_ISOLATION ON;<br />
&#8216;<br />
Exec(@sql)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/292/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/292/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/292/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=292&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2010/03/15/to-enable-snapshot-transactions-in-ms-sql-2005/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>
	</item>
		<item>
		<title>Get Highres Thumbnail</title>
		<link>http://codecopy.wordpress.com/2009/11/27/get-highres-thumbnail/</link>
		<comments>http://codecopy.wordpress.com/2009/11/27/get-highres-thumbnail/#comments</comments>
		<pubDate>Thu, 26 Nov 2009 23:11:52 +0000</pubDate>
		<dc:creator>mazzoo</dc:creator>
				<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://codecopy.wordpress.com/2009/11/27/get-highres-thumbnail/</guid>
		<description><![CDATA[To save it, just use image.save(…); with the result<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=291&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: csharp;">

public Image GetThumbnail(FileInfo from, Size size)
      {
          try
          {
              Image image = Bitmap.FromFile(from.ToString());

              int width = size.Width;
              int height = size.Height;

              if (image.Width &gt; image.Height)
                  height = width * image.Height / image.Width;
              else
                  width = height * image.Width / image.Height;

              if (width &gt; size.Width)
              {
                  width = size.Width;
                  height = width * image.Height / image.Width;
              }
              if (height &gt; size.Height)
              {
                  height = size.Height;
                  width = height * image.Width / image.Height;
              }

              Image returnImage = new Bitmap(size.Width, size.Height);

              Graphics graphics = Graphics.FromImage(returnImage);
              graphics.SmoothingMode = SmoothingMode.HighQuality;
              graphics.CompositingQuality = CompositingQuality.HighQuality;
              graphics.InterpolationMode = InterpolationMode.High;

              graphics.FillRectangle(new SolidBrush(Color.White), 0, 0, returnImage.Width, returnImage.Height);

              graphics.DrawImage(image, new Rectangle((size.Width - width) / 2, (size.Height - height) / 2, width, height), new Rectangle(0, 0, image.Width, image.Height), GraphicsUnit.Pixel);

              return returnImage;
          }
          catch (Exception exception)
          {
          }

          return null;
      }

 </pre></p>
<p>To save it, just use image.save(…); with the result</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/291/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/291/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/291/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=291&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2009/11/27/get-highres-thumbnail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d486070e71648ec257810d7e1fc919?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">mazzoo</media:title>
		</media:content>
	</item>
		<item>
		<title>How to remove objects from generic List by property value</title>
		<link>http://codecopy.wordpress.com/2009/11/05/removing-objects-from-list-by-property/</link>
		<comments>http://codecopy.wordpress.com/2009/11/05/removing-objects-from-list-by-property/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 22:59:28 +0000</pubDate>
		<dc:creator>sterndorff</dc:creator>
				<category><![CDATA[c#]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[List]]></category>

		<guid isPermaLink="false">http://codecopy.wordpress.com/?p=256</guid>
		<description><![CDATA[Having two generic lists of type List&#60;MyClass&#62;, how do I remove from List1 all the instances of List2, matching a property? This is the setup. I have a class: And two lists: I want to remove all list2 instances from list1 matching on MyValue property. Method 1: Loop and LINQ Method 2: LINQ and Loop [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=256&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Having two generic lists of type List&lt;MyClass&gt;, how do I remove from List1 all the instances of List2, matching a property?</p>
<p>This is the setup. I have a class:  </p>
<p><pre class="brush: csharp;">
public class MyClass
{
    public int MyValue { get; set; }
    public int MyOtherValue { get; set; }
}
</pre></p>
<p>And two lists:</p>
<p><pre class="brush: csharp;">
List&lt;MyClass&gt; list1 = new List&lt;MyClass&gt;();
list1.Add(new MyClass() { MyValue = 1, MyOtherValue = 10 });
list1.Add(new MyClass() { MyValue = 2, MyOtherValue = 20 });
list1.Add(new MyClass() { MyValue = 3, MyOtherValue = 30 });
list1.Add(new MyClass() { MyValue = 4, MyOtherValue = 40 });

List&lt;MyClass&gt; list2 = new List&lt;MyClass&gt;();
list2.Add(new MyClass() { MyValue = 2, MyOtherValue = 50 });
list2.Add(new MyClass() { MyValue = 3, MyOtherValue = 60 });
</pre></p>
<p>I want to remove all list2 instances from list1 matching on MyValue property.</p>
<p><span id="more-256"></span></p>
<p><strong>Method 1: Loop and LINQ</strong><br />
<pre class="brush: csharp;">
list2.ForEach(l2 =&gt; { list1.RemoveAll(l1 =&gt; l1.MyValue == l2.MyValue); });
</pre></p>
<p><strong>Method 2: LINQ and Loop</strong><br />
<pre class="brush: csharp;">
            (from l1 in list1 join l2 in list2 on l1.MyValue equals l2.MyValue
             select l1).ToList().ForEach(i =&gt; list1.Remove(i));
</pre></p>
<p><strong>Output (from both)</strong></p>
<p><pre class="brush: csharp;">
MyValue: 1 MyOtherValue: 10
MyValue: 4 MyOtherValue: 40
</pre></p>
<p><strong>Performance</strong><br />
Don&#8217;t be fooled that Method1 may look prettier than Method2. Performance depends on the size of the lists. Method1 scales very badly when list2 has more than a few elements compared to the size of list1.</p>
<p>List1 size: 1.000.000<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp; List2 size: 10<br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 1: <span style="color:#008000;">103 ms</span><br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 2: <span style="color:#ff0000;">325 ms</span></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; List2 size: 100<br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 1: <span style="color:#ff0000;">5534 ms</span><br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 2: <span style="color:#008000;">682 ms</span><br />
}</p>
<p>List1 size: 1.000<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp; List2 size: 100<br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 1: <span style="color:#008000;">1 ms</span><br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 2: <span style="color:#ff0000;">11 ms</span></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; List2 size: 900<br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 1: <span style="color:#ff0000;">32 ms</span><br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 2: <span style="color:#008000;">12 ms</span><br />
}</p>
<p>And it gets all bad when both lists are large:</p>
<p>List1 size: 100.000<br />
{<br />
&nbsp;&nbsp;&nbsp;&nbsp; List2 size: 90.000<br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 1: <span style="color:#ff0000;">297834 ms</span><br />
&nbsp;&nbsp;&nbsp;&nbsp; Method 2: <span style="color:#008000;">7555 ms</span><br />
}</p>
<p><strong>Conclusion</strong><br />
Use Method2 unless you are sure that the list that you want to remove is very small compared to the main list (&lt;50 elements).</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/codecopy.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/codecopy.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/codecopy.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/codecopy.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/codecopy.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/codecopy.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/codecopy.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/codecopy.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/codecopy.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/codecopy.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/codecopy.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/codecopy.wordpress.com/256/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/codecopy.wordpress.com/256/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/codecopy.wordpress.com/256/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=codecopy.wordpress.com&amp;blog=9326457&amp;post=256&amp;subd=codecopy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://codecopy.wordpress.com/2009/11/05/removing-objects-from-list-by-property/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/346cb00bd6e9984db5e39b7979ac335e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sterndorff</media:title>
		</media:content>
	</item>
	</channel>
</rss>
