<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: Introduction to Interfaces in VB.NET</title>
	<atom:link href="http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/feed/" rel="self" type="application/rss+xml" />
	<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/</link>
	<description>Articles on VB.NET and Software Development Team Leadership</description>
	<pubDate>Wed, 08 Feb 2012 00:39:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Tjaart</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1457</link>
		<dc:creator>Tjaart</dc:creator>
		<pubDate>Thu, 04 Mar 2010 09:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1457</guid>
		<description>For people who dont understand interfaces: 

Interfaces make your code pluggable because you know when something implements a certain interface that it has certain functions or properties. 

IEnumerable for example lets you know that you have an enumarable indexable list of items. Say you want to write a function that can take arrays or lists. Both implement IEnumerable, so instead of writing an overloaded function to cater for both types, you simply make your function parameter an IEnumerable. Example:

Private Function RandomizeItems(ByVal items as IEnumerable)

instead of

Private Function RandomizeItems(ByVal items as List(Of T))

Private Function RandomizeItems(ByVal items as T())

Get it?</description>
		<content:encoded><![CDATA[<p>For people who dont understand interfaces: </p>
<p>Interfaces make your code pluggable because you know when something implements a certain interface that it has certain functions or properties. </p>
<p>IEnumerable for example lets you know that you have an enumarable indexable list of items. Say you want to write a function that can take arrays or lists. Both implement IEnumerable, so instead of writing an overloaded function to cater for both types, you simply make your function parameter an IEnumerable. Example:</p>
<p>Private Function RandomizeItems(ByVal items as IEnumerable)</p>
<p>instead of</p>
<p>Private Function RandomizeItems(ByVal items as List(Of T))</p>
<p>Private Function RandomizeItems(ByVal items as T())</p>
<p>Get it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adel</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1454</link>
		<dc:creator>Adel</dc:creator>
		<pubDate>Tue, 23 Feb 2010 00:00:09 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1454</guid>
		<description>My understanding is that in .NET technology ,you can not inherit multiple classes  .However,  it is possible in VC++
e.g. in .NET a class has one and only one parent(derived Class)
furthermore, it could implement more than one interface except that it takes only the declaration parts not the implementation.
In fact, it is meaningless if some class has more than one father
it only inherits its father's wealth(Properties and methods) and spends (implements) it.
On other hand,it can not inherits other parties' wealth but it may 
spend (implement) it.</description>
		<content:encoded><![CDATA[<p>My understanding is that in .NET technology ,you can not inherit multiple classes  .However,  it is possible in VC++<br />
e.g. in .NET a class has one and only one parent(derived Class)<br />
furthermore, it could implement more than one interface except that it takes only the declaration parts not the implementation.<br />
In fact, it is meaningless if some class has more than one father<br />
it only inherits its father&#8217;s wealth(Properties and methods) and spends (implements) it.<br />
On other hand,it can not inherits other parties&#8217; wealth but it may<br />
spend (implement) it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexandre</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1452</link>
		<dc:creator>Alexandre</dc:creator>
		<pubDate>Tue, 16 Feb 2010 12:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1452</guid>
		<description>I am very gladed to see such code of interface in vb dot net</description>
		<content:encoded><![CDATA[<p>I am very gladed to see such code of interface in vb dot net</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Timan</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1432</link>
		<dc:creator>Timan</dc:creator>
		<pubDate>Tue, 01 Dec 2009 18:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1432</guid>
		<description>What is the real time use of Interface???</description>
		<content:encoded><![CDATA[<p>What is the real time use of Interface???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pratap</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1428</link>
		<dc:creator>pratap</dc:creator>
		<pubDate>Wed, 11 Nov 2009 11:14:21 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1428</guid>
		<description>what is the benefits of using interface?</description>
		<content:encoded><![CDATA[<p>what is the benefits of using interface?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1427</link>
		<dc:creator>Suresh</dc:creator>
		<pubDate>Sat, 31 Oct 2009 18:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1427</guid>
		<description>Very Nice Article on Interfaces!

Can you provide me an real time example of when and where to use interfaces.</description>
		<content:encoded><![CDATA[<p>Very Nice Article on Interfaces!</p>
<p>Can you provide me an real time example of when and where to use interfaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lakshmi</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1423</link>
		<dc:creator>Lakshmi</dc:creator>
		<pubDate>Tue, 27 Oct 2009 05:04:33 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1423</guid>
		<description>can u explain why we need to go for interfaces rather than calling a method.. Let me know whats the difference...</description>
		<content:encoded><![CDATA[<p>can u explain why we need to go for interfaces rather than calling a method.. Let me know whats the difference&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AnonNoob</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1392</link>
		<dc:creator>AnonNoob</dc:creator>
		<pubDate>Mon, 07 Sep 2009 17:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1392</guid>
		<description>I think the whole point of interfaces is to implement 'good code practise', nothing more.

You use it to bind objects using an interface to a class, so you know 10 years later, which properties you have to construct or use. It is just a contractual aspect for coding.

That's my take on it anyway.

You could be lazy (like me) and just use class properties and public / private methods to expose the parts you want other parts of the projects you want access to.</description>
		<content:encoded><![CDATA[<p>I think the whole point of interfaces is to implement &#8216;good code practise&#8217;, nothing more.</p>
<p>You use it to bind objects using an interface to a class, so you know 10 years later, which properties you have to construct or use. It is just a contractual aspect for coding.</p>
<p>That&#8217;s my take on it anyway.</p>
<p>You could be lazy (like me) and just use class properties and public / private methods to expose the parts you want other parts of the projects you want access to.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohsin</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1364</link>
		<dc:creator>Mohsin</dc:creator>
		<pubDate>Mon, 15 Jun 2009 10:26:36 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1364</guid>
		<description>Well, all that was good, helpfull stuff about interfaces.
Got so much out of it, but still not feeling confortable saying that i have understood interfaces completely.</description>
		<content:encoded><![CDATA[<p>Well, all that was good, helpfull stuff about interfaces.<br />
Got so much out of it, but still not feeling confortable saying that i have understood interfaces completely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mukund</title>
		<link>http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/comment-page-1/#comment-1359</link>
		<dc:creator>mukund</dc:creator>
		<pubDate>Tue, 02 Jun 2009 08:31:24 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/23/introduction-to-interfaces-in-vbnet/#comment-1359</guid>
		<description>I am confusing to use interfaces.I want to know exact use of interfaces.My problem is:
W e can directly write methods in class instead of using interface.Then what is need of interface.

If anyone knows pls email me:

mukundguttal@rediffmail.com</description>
		<content:encoded><![CDATA[<p>I am confusing to use interfaces.I want to know exact use of interfaces.My problem is:<br />
W e can directly write methods in class instead of using interface.Then what is need of interface.</p>
<p>If anyone knows pls email me:</p>
<p><a href="mailto:mukundguttal@rediffmail.com">mukundguttal@rediffmail.com</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

