<?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>&#8235;Devign &#187; C#&#8236;</title>	<atom:link href="http://blog.devign.co.il/category/csharp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.devign.co.il</link>
	<description>&#8235;תכנות אינטרנט מתקדם&#8236;</description>	<lastBuildDate>Mon, 26 Jul 2010 09:48:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>he</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8235;#C: טיפוסים גנריים (Generic Types) וממשקים (Interfaces)&#8236;</title>		<link>http://blog.devign.co.il/17/c-%d7%98%d7%99%d7%a4%d7%95%d7%a1%d7%99%d7%9d-%d7%92%d7%a0%d7%a8%d7%99%d7%99%d7%9d-generic-types-%d7%95%d7%9e%d7%9e%d7%a9%d7%a7%d7%99%d7%9d-interfaces/</link>
		<comments>http://blog.devign.co.il/17/c-%d7%98%d7%99%d7%a4%d7%95%d7%a1%d7%99%d7%9d-%d7%92%d7%a0%d7%a8%d7%99%d7%99%d7%9d-generic-types-%d7%95%d7%9e%d7%9e%d7%a9%d7%a7%d7%99%d7%9d-interfaces/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 07:50:56 +0000</pubDate>
		<dc:creator>&#8235;elado&#8236;</dc:creator>				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://blog.devign.co.il/c-%d7%98%d7%99%d7%a4%d7%95%d7%a1%d7%99%d7%9d-%d7%92%d7%a0%d7%a8%d7%99%d7%99%d7%9d-generic-types-%d7%95%d7%9e%d7%9e%d7%a9%d7%a7%d7%99%d7%9d-interfaces/</guid>
		<description><![CDATA[&#8235;נניח שיש לנו את המחלקה הבאה:
public class ItemCollection&#60;T&#62; : List&#60;T&#62; {
	public ItemCollection&#60;T&#62; Load() {
		// load process here...
		return this;
	}
	public ItemCollection&#60;T&#62; Attach(T item) {
		base.Add(item);
		return this;
	}
	public ItemCollection&#60;T&#62; Clone() {
		ItemCollection&#60;T&#62; cloned=new ItemCollection&#60;T&#62;();
		// clone logic here...
		return cloned;
	}
}

והתוכנית הבאה:
public class Program {
	public static void Main(string[] args) {
		ItemCollection&#60;int&#62; intCollection=new ItemCollection&#60;int&#62;();
		intCollection.Attach(1).Load();
	}
}

 ItemCollection היא מחלקה שיורשת מ- List&#60;T&#62; ומוסיפה לה כמה מתודות. שימו לב [...]&#8236;]]></description>		<wfw:commentRss>http://blog.devign.co.il/17/c-%d7%98%d7%99%d7%a4%d7%95%d7%a1%d7%99%d7%9d-%d7%92%d7%a0%d7%a8%d7%99%d7%99%d7%9d-generic-types-%d7%95%d7%9e%d7%9e%d7%a9%d7%a7%d7%99%d7%9d-interfaces/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
