<?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: Rolling Your Own Generic Functions</title>
	<atom:link href="http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/feed/" rel="self" type="application/rss+xml" />
	<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/</link>
	<description>Articles on VB.NET and Software Development Team Leadership</description>
	<pubDate>Mon, 15 Mar 2010 05:38:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Patrick</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1371</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Thu, 02 Jul 2009 21:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1371</guid>
		<description>Great VB-centric explanation! Thank you.</description>
		<content:encoded><![CDATA[<p>Great VB-centric explanation! Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishal</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1348</link>
		<dc:creator>Vishal</dc:creator>
		<pubDate>Fri, 15 May 2009 09:59:42 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1348</guid>
		<description>Great Article! however I am still struggling to implement it for below scenario:
I have function that returns an object to any of the defined custom classes. How can i make use of Generics in this case? 

Public Function getEntityData(ByVal EntityName As String, ByVal EntityKeyValue As String) As Object

I declared a Function as: 
Public Function testgetSTEntityData(Of AnyVOType As {New})  (ByVal EntityName As String, ByVal EntityKeyValue As String) As AnyVOType

Am wanting to return an object of any Custom classe's  that I have declared but am not able to do so and am getting design time error: Value of Type "some custom class" cannot be converted to AnyVOType.

Can generics be used in this scenario ?</description>
		<content:encoded><![CDATA[<p>Great Article! however I am still struggling to implement it for below scenario:<br />
I have function that returns an object to any of the defined custom classes. How can i make use of Generics in this case? </p>
<p>Public Function getEntityData(ByVal EntityName As String, ByVal EntityKeyValue As String) As Object</p>
<p>I declared a Function as:<br />
Public Function testgetSTEntityData(Of AnyVOType As {New})  (ByVal EntityName As String, ByVal EntityKeyValue As String) As AnyVOType</p>
<p>Am wanting to return an object of any Custom classe&#8217;s  that I have declared but am not able to do so and am getting design time error: Value of Type &#8220;some custom class&#8221; cannot be converted to AnyVOType.</p>
<p>Can generics be used in this scenario ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prasanthi</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1312</link>
		<dc:creator>Prasanthi</dc:creator>
		<pubDate>Sat, 21 Feb 2009 16:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1312</guid>
		<description>Very Informative for a beginner. thank you</description>
		<content:encoded><![CDATA[<p>Very Informative for a beginner. thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: indra</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1228</link>
		<dc:creator>indra</dc:creator>
		<pubDate>Tue, 21 Oct 2008 04:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1228</guid>
		<description>thanks for posting such a good article about generics</description>
		<content:encoded><![CDATA[<p>thanks for posting such a good article about generics</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M.V.S Venu Madhav</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1117</link>
		<dc:creator>M.V.S Venu Madhav</dc:creator>
		<pubDate>Thu, 22 May 2008 08:10:28 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1117</guid>
		<description>article is good and easy to understand.i would like to know about class templates in VB.net</description>
		<content:encoded><![CDATA[<p>article is good and easy to understand.i would like to know about class templates in VB.net</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1114</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Fri, 16 May 2008 19:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1114</guid>
		<description>This is a good article and I wished I had stumbled upon this a lot sooner as this would have saved me some VB.NET syntax headaches.

I figured out how to create generic functions and have been using them in my applications now.

Nevertheless, I will still hold on to this article.</description>
		<content:encoded><![CDATA[<p>This is a good article and I wished I had stumbled upon this a lot sooner as this would have saved me some VB.NET syntax headaches.</p>
<p>I figured out how to create generic functions and have been using them in my applications now.</p>
<p>Nevertheless, I will still hold on to this article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pat</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1112</link>
		<dc:creator>Pat</dc:creator>
		<pubDate>Thu, 15 May 2008 02:09:10 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1112</guid>
		<description>Thanks mate, wasn't quite sure of the power of these generic functions, and, like the above poster, found it to be one of the best explanations I've ever seen on the power and versatility of the generic functions!
Cheers!</description>
		<content:encoded><![CDATA[<p>Thanks mate, wasn&#8217;t quite sure of the power of these generic functions, and, like the above poster, found it to be one of the best explanations I&#8217;ve ever seen on the power and versatility of the generic functions!<br />
Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BigJim</title>
		<link>http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/comment-page-1/#comment-1008</link>
		<dc:creator>BigJim</dc:creator>
		<pubDate>Thu, 14 Feb 2008 19:54:04 +0000</pubDate>
		<guid isPermaLink="false">http://vbnotebookfor.net/2007/10/05/rolling-your-own-generic-functions/#comment-1008</guid>
		<description>This is as clear and thorough of an explanation as I have ever seen.  I've been using generics for a while, in the manner that you mention (Lists, etc.) but never as a function.  Quite an eye opener, and the power of this is super appealing!  Your article totally covers everything about this feature, thanks much!</description>
		<content:encoded><![CDATA[<p>This is as clear and thorough of an explanation as I have ever seen.  I&#8217;ve been using generics for a while, in the manner that you mention (Lists, etc.) but never as a function.  Quite an eye opener, and the power of this is super appealing!  Your article totally covers everything about this feature, thanks much!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
