<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Visual Basic .NET</title><link>http://forums.asp.net/36.aspx</link><description>Discussions/Questions about the Visual Basic .NET language. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=14&amp;c=23" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Static v/s Shared variables in VB.NET</title><link>http://forums.asp.net/thread/3274648.aspx</link><pubDate>Sat, 04 Jul 2009 12:41:46 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274648</guid><dc:creator>shekhar.patidar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274648.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3274648</wfw:commentRss><description>&lt;p&gt;Thanks,for replying my questions and my &amp;nbsp;problem is solved.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and your advice is welcomed in future.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Static v/s Shared variables in VB.NET</title><link>http://forums.asp.net/thread/3249913.aspx</link><pubDate>Mon, 22 Jun 2009 07:38:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3249913</guid><dc:creator>gerrylowry</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3249913.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3249913</wfw:commentRss><description>&lt;p&gt;Shekhar, please read these articles:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/z2cty7t8.aspx"&gt;http://msdn.microsoft.com/en-us/library/z2cty7t8.aspx&lt;/a&gt;&lt;br /&gt;Static (Visual Basic) :: Specifies that one or more declared local variables are to continue to exist and retain their latest values after termination of the procedure in which they are declared. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/zc2b427x.aspx"&gt;http://msdn.microsoft.com/en-us/library/zc2b427x.aspx&lt;/a&gt;&lt;br /&gt;Shared (Visual Basic) :: Specifies that one or more declared programming elements are associated with a class or structure at large, and not with a specific instance of the class or structure. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/35styb3a.aspx"&gt;http://msdn.microsoft.com/en-us/library/35styb3a.aspx&lt;/a&gt;&lt;br /&gt;Lifetime in Visual Basic :: The &lt;span class="parameter"&gt;&lt;em&gt;lifetime&lt;/em&gt;&lt;/span&gt; of a declared element is the period of time during which it is available for use. Variables are the only elements that have lifetime. For this purpose, the compiler treats procedure parameters and function returns as special cases of variables. The lifetime of a variable represents the period of time during which it can hold a value. Its value can change over its lifetime, but it always holds some value. &lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Gerry (Lowry)&lt;/p&gt;</description></item><item><title>Re: Static v/s Shared variables in VB.NET</title><link>http://forums.asp.net/thread/3249870.aspx</link><pubDate>Mon, 22 Jun 2009 07:23:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3249870</guid><dc:creator>XIII</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3249870.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3249870</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;in VB.NET the keyword Shared&amp;#39;s the equivalent of C#s static keyword.&lt;/p&gt;
&lt;p&gt;Grz, Kris.&lt;/p&gt;</description></item><item><title>Static v/s Shared variables in VB.NET</title><link>http://forums.asp.net/thread/3249861.aspx</link><pubDate>Mon, 22 Jun 2009 07:18:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3249861</guid><dc:creator>shekhar.patidar</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3249861.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=36&amp;PostID=3249861</wfw:commentRss><description>&lt;p&gt;hi to all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; any body can explain me the exact diff b/t Static v/s Shared variables in VB.NET????&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item></channel></rss>