<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 Forums - Coffeehouse - Learning VB.NET</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Forums/rss"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 Forums - Coffeehouse - Learning VB.NET</title>
		<link>http://channel9.msdn.com/Forums</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Forums</link>
	<language>en</language>
	<pubDate>Sun, 26 May 2013 07:32:52 GMT</pubDate>
	<lastBuildDate>Sun, 26 May 2013 07:32:52 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>26</c9:totalResults>
	<c9:pageCount>-26</c9:pageCount>
	<c9:pageSize>-1</c9:pageSize>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>&lt;BackgroundInfo&gt;<br>
So, as some of you may know, I've been dealing with a (healthcare company of 1000 people in 3 states) for a month or two, getting lined up for a job as a Web Admin / IntraWeb Admin / PC Tech.&nbsp; Unfortunately, the Web Admin / IntraWeb Admin who would be above
 me (but thankfully 1500-2000 miles away) is a VB coder; and from what I've heard, a shoddy one at that.&nbsp; I'm a C# coder.<br>
<br>
I started programming in GWBasic back in the 80's, and moved up through QBasic and Pascal in school, finally settling on C# only recently.&nbsp; I've also been learning ASP.NET 2.0, and the more of it I learn, the more I love .NET! &lt;/BackgroundInfo&gt;<br>
<br>
My question to the more experienced folks here is, how hard is it for someone who knows C#, ASP.NET 2.0, and very old forms of BASIC to learn VB.NET? From what I'm hearing, I'll be hired tomorrow and starting Monday. If it's just different syntax and a few
 different namespaces I don't see a problem.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/190070#190070</link>
		<pubDate>Fri, 19 May 2006 02:31:21 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/190070#190070</guid>
		<dc:creator>tsilb</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/SlackmasterK/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>From the perspective of a VB.net dev with a little Java background I find that I can easily read C# for the most part (couple little shorthand syntax things that trip me up sometimes)...... So i really don't think it will be any trouble for you at all as
 soon as you get a handle on the syntax differences....<br>
<br>
Though other than for the sake of the &quot;Web Admin / IntraWeb Admin&quot; you will be working under I don't see a reason why you couldn't continue to write code in C# for the most part....<br>
<br>
Good luck and just remember VB is long winded is all (ok there are more differences than that)&nbsp;<img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /><br>
<br>
</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/cf65839bedca42ec92989deb01635f2f#cf65839bedca42ec92989deb01635f2f</link>
		<pubDate>Fri, 19 May 2006 03:04:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/cf65839bedca42ec92989deb01635f2f#cf65839bedca42ec92989deb01635f2f</guid>
		<dc:creator>Ang3lFir3</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Ang3lFir3/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>You should have no problems.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/c0dc3d70eab948fe83079deb01635f58#c0dc3d70eab948fe83079deb01635f58</link>
		<pubDate>Fri, 19 May 2006 04:29:20 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/c0dc3d70eab948fe83079deb01635f58#c0dc3d70eab948fe83079deb01635f58</guid>
		<dc:creator>Larsenal</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Larsenal/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>If you are already C# and .Net fluent...<br>
<br>
<a href="http://www.amazon.com/gp/product/0596003196">http://www.amazon.com/gp/product/0596003196</a><br>
<br>
pretty much all you need.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/9c93f679ad144b629ba69deb01635f83#9c93f679ad144b629ba69deb01635f83</link>
		<pubDate>Fri, 19 May 2006 04:36:15 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/9c93f679ad144b629ba69deb01635f83#9c93f679ad144b629ba69deb01635f83</guid>
		<dc:creator>spoofnozzle</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/spoofnozzle/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>Outstanding, thanks all.&nbsp; I expect I'll be kludging through with Intellisense by my side.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/c8667b1695ff4529bbef9deb01635fac#c8667b1695ff4529bbef9deb01635fac</link>
		<pubDate>Fri, 19 May 2006 05:10:42 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/c8667b1695ff4529bbef9deb01635fac#c8667b1695ff4529bbef9deb01635fac</guid>
		<dc:creator>tsilb</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/SlackmasterK/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">spoofnozzle wrote:</div>
<div class="quoteBody">&#65279;If you are already C# and .Net fluent...<br>
<br>
<a href="http://www.amazon.com/gp/product/0596003196">http://www.amazon.com/gp/product/0596003196</a><br>
<br>
pretty much all you need.</div>
</blockquote>
<br>
<br>
&#43;&#43;<br>
<br>
good book - also works other way around.<br>
<br>
Also - snippets really come in to there own here. Incredibly useful when o know framework but not the syntax- at least I found so going the other way.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/1d521e9105a5434e83bf9deb01635fd7#1d521e9105a5434e83bf9deb01635fd7</link>
		<pubDate>Fri, 19 May 2006 08:35:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/1d521e9105a5434e83bf9deb01635fd7#1d521e9105a5434e83bf9deb01635fd7</guid>
		<dc:creator>Tensor</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Tensor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>I seriously wouldnt worry about it, if you know the framework then more or less every construct in C# has an equivelent in VB.Net&nbsp; which is only a google search away. Im from a VB background and my last contract was an ASP.Net web project all done in C#,
 it literally was just a matter of getting used to curly braces and some different keywords although i did know c&#43;&#43; so it wasnt too hard to get used to.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/082b462e038d445785f39deb01636001#082b462e038d445785f39deb01636001</link>
		<pubDate>Fri, 19 May 2006 09:02:48 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/082b462e038d445785f39deb01636001#082b462e038d445785f39deb01636001</guid>
		<dc:creator>Lee Dale</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/leeappdalecom/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>VB.NET... Run, run as fast as you can and hide from it.<br>
<br>
7 Years of VB 6 and I finally tried to migrate my skills to VB.NET this year, one and one week later I was buying C# books.&nbsp; I cannot see the point in learning/using VB.NET if you know C#?&nbsp; It would be better to get the other VB developer to migrate to C#,
 he'll (or she?) will thank you later on.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/cbfbb851a75d47179ea89deb0163602b#cbfbb851a75d47179ea89deb0163602b</link>
		<pubDate>Fri, 19 May 2006 11:27:53 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/cbfbb851a75d47179ea89deb0163602b#cbfbb851a75d47179ea89deb0163602b</guid>
		<dc:creator>Another_Darren</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Another_Darren/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Another_Darren wrote:</div>
<div class="quoteBody">VB.NET... Run, run as fast as you can and hide from it.<br>
<br>
7 Years of VB 6 and I finally tried to migrate my skills to VB.NET this year, one and one week later I was buying C# books.&nbsp; I cannot see the point in learning/using VB.NET if you know C#?&nbsp; It would be better to get the other VB developer to migrate to C#,
 he'll (or she?) will thank you later on.<br>
</div>
</blockquote>
<br>
<br>
sorry but thats rubbish theres no reason to use C# over VB.Net it all acheives the same thing at the end. Id suggest learing both theres no great learning curve to learn either if you already know one and it will be worth it if you intened to work on many different
 .net projects.<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/69b8aa30441642929dda9deb01636056#69b8aa30441642929dda9deb01636056</link>
		<pubDate>Fri, 19 May 2006 11:46:11 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/69b8aa30441642929dda9deb01636056#69b8aa30441642929dda9deb01636056</guid>
		<dc:creator>Lee Dale</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/leeappdalecom/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>For starters VB.NET usually needs more lines of code to achieve the same result that C#.&nbsp; And VB.NET is not as nice at handling certain logic operators or statements without additional checks in you code.<br>
<br>
From my experience with VB 6 allowed lazy programming and that's why it was popular.&nbsp; Moving VB to .NET microsoft tried to neaten the language up but all the VB developers moaned about &quot;but in VB 6 we just had to.....&quot; so they put all the shortcuts (usually
 meaning more processing) and lazy options back into VB.&nbsp; I am a VB programmer and I hate the language when compared to C#,&nbsp; found the learning curve of VB 6 to VB.NET to be worse than VB 6 to C#.&nbsp;
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/3f4ca7b7f679439dbcb89deb016360e6#3f4ca7b7f679439dbcb89deb016360e6</link>
		<pubDate>Fri, 19 May 2006 15:03:39 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/3f4ca7b7f679439dbcb89deb016360e6#3f4ca7b7f679439dbcb89deb016360e6</guid>
		<dc:creator>Another_Darren</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Another_Darren/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Another_Darren wrote:</div>
<div class="quoteBody">&#65279;For starters VB.NET usually needs more lines of code to achieve the same result that C#.&nbsp; And VB.NET is not as nice at handling certain logic operators or statements without additional checks in you code.<br>
<br>
<br>
</div>
</blockquote>
<br>
<br>
Right, so c# biggots criticise VB for introducing the My namespace on the grounds that its dumbing-down, and then criticise because it takes more lines of code to achieve something?
<br>
<br>
One, you cant have it both ways. Two, thats rubbish as in both you are basicly writing code to target framework classes which takes the same number of lines.
<br>
<br>
And exactly which logic operators or statements are not as nice? What additional checks do you need exactly? I think all the things you are attributing to the language are in fact due to lazy code.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/f7f9bd92724a453781819deb01636113#f7f9bd92724a453781819deb01636113</link>
		<pubDate>Fri, 19 May 2006 15:09:03 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/f7f9bd92724a453781819deb01636113#f7f9bd92724a453781819deb01636113</guid>
		<dc:creator>Tensor</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Tensor/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Tensor wrote:</div>
<div class="quoteBody">&#65279;And exactly which logic operators or statements are not as nice?</div>
</blockquote>
<br>
I think he's talking about the AndAlso and OrElse mess, and if so it's the only point from his post I agree with.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/00582474b3ac4c3ba0779deb0163613d#00582474b3ac4c3ba0779deb0163613d</link>
		<pubDate>Fri, 19 May 2006 15:11:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/00582474b3ac4c3ba0779deb0163613d#00582474b3ac4c3ba0779deb0163613d</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>The main difficulties you are likely to encounter are minor.<br>
<br>
Things like inadvertantly using curly braces, forgetting to use the <font color="#800080">
Dim as Object s</font><font color="#000000">tyle vs the <font color="#800080">Object myObject</font> style, and using the Implements and Inherits keywords vs the semi-colon.<br>
<br>
Delagates in VB are weird, so you may want to research that.<br>
<br>
But that is about it, at least for me anyway.<br>
<br>
<br>
Good Luck!</font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/6c110697c4f94996a6d99deb01636166#6c110697c4f94996a6d99deb01636166</link>
		<pubDate>Fri, 19 May 2006 15:19:02 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/6c110697c4f94996a6d99deb01636166#6c110697c4f94996a6d99deb01636166</guid>
		<dc:creator>phreaks</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/phreaks/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Sven Groot wrote:</div>
<div class="quoteBody">
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Tensor wrote:</strong>
<hr size="1">
<i>And exactly which logic operators or statements are not as nice?</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
I think he's talking about the AndAlso and OrElse mess, and if so it's the only point from his post I agree with.</div>
</blockquote>
<br>
<br>
yes i agree personally im not a fan of them operators but remember VB was created to be more like psuedo code so people who didnt have a degree in maths could pick it up to customise there applications. However VB has evolved and can do everything C# can and
 being a little more easier to read and a bit more verbose doesnt mean its an inferior language its just as powerful.<br>
<br>
Saying that I still prefer C# <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-5.gif' alt='Wink' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/8401a3f5772a4897853c9deb01636192#8401a3f5772a4897853c9deb01636192</link>
		<pubDate>Fri, 19 May 2006 15:20:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/8401a3f5772a4897853c9deb01636192#8401a3f5772a4897853c9deb01636192</guid>
		<dc:creator>Lee Dale</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/leeappdalecom/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">leeappdalecom wrote:</div>
<div class="quoteBody">&#65279;<br>
sorry but thats rubbish theres no reason to use C# over VB.Net it all acheives the same thing at the end.
<br>
</div>
</blockquote>
<br>
<br>
Not entirely true. If you need unsafe code, then you have to use C#. Likewise if your doing late-bound COM work, VB rules.<br>
<br>
Right tool for the right job and all that. For the majority of stuff though, it's about personal preference (or in house coding guidelines!)<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/7136d5032c424f30923c9deb016361bc#7136d5032c424f30923c9deb016361bc</link>
		<pubDate>Fri, 19 May 2006 15:24:32 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/7136d5032c424f30923c9deb016361bc#7136d5032c424f30923c9deb016361bc</guid>
		<dc:creator>AndyC</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/AndyC/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">AndyC wrote:</div>
<div class="quoteBody">
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>leeappdalecom wrote:</strong>
<hr size="1">
<i><br>
sorry but thats rubbish theres no reason to use C# over VB.Net it all acheives the same thing at the end.
<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
Not entirely true. If you need unsafe code, then you have to use C#. Likewise if your doing late-bound COM work, VB rules.<br>
<br>
</div>
</blockquote>
<br>
<br>
Yes true but i was trying not to get picky about it <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-4.gif' alt='Tongue Out' /><br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/1a64cd0c750848fab6b09deb016361e8#1a64cd0c750848fab6b09deb016361e8</link>
		<pubDate>Fri, 19 May 2006 15:31:32 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/1a64cd0c750848fab6b09deb016361e8#1a64cd0c750848fab6b09deb016361e8</guid>
		<dc:creator>Lee Dale</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/leeappdalecom/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>it's easy. Use an automated tool to convert your C# to VB.NET. hehe</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/c8eb0fcd34064f839c4c9deb01636212#c8eb0fcd34064f839c4c9deb01636212</link>
		<pubDate>Fri, 19 May 2006 17:35:37 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/c8eb0fcd34064f839c4c9deb01636212#c8eb0fcd34064f839c4c9deb01636212</guid>
		<dc:creator>Christian Liensberger</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/littleguru/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Another_Darren wrote:</div>
<div class="quoteBody">&#65279;VB.NET... Run, run as fast as you can and hide from it.<br>
<br>
7 Years of VB 6 and I finally tried to migrate my skills to VB.NET this year, one and one week later I was buying C# books.&nbsp; I cannot see the point in learning/using VB.NET if you know C#?&nbsp; It would be better to get the other VB developer to migrate to C#,
 he'll (or she?) will thank you later on.<br>
</div>
</blockquote>
<br>
Because apparently, the lady who's going to be my boss has to see all my work before it can be published; and she has to know what it's doing.&nbsp; The thing that confuses me is that I can look at VB code and know what it's doing; why can't she do that with C#?<br>
<br>
She's apparently been working in VB since VB4, and according to my 'insider contact', she's never been very good at it.&nbsp; I can only imagine the pain of trying to teach her a new language, much less trying to get her to learn it on her own.<br>
<br>
[quote user&quot;Tensor&quot;]Right, so c# biggots criticise VB for introducing the My namespace on the grounds that its dumbing-down, and then criticise because it takes more lines of code to achieve something? [/quote]<br>
Isn't VB's 'my' namespace similar to C#'s 'this'?<br>
<br>
<br>
Here's a question, I was messing with VB.NET last night, and I've been trying to figure out FOR loops.&nbsp; In C# it's as easy as:
<br>
<br>
<font size="3">
<p></font><font color="#0000ff" size="3">for</font><font size="3"> (</font><font color="#0000ff" size="3">int</font><font size="3"> index = 0; index &lt; 10; index&#43;&#43;) {<br>
&nbsp;[...] }</p>
</font>But in VB I have to:<br>
<br>
<font size="3">
<p></font><font color="#0000ff" size="3">Dim</font><font size="3"> b </font><font color="#0000ff" size="3">As</font><font size="3">
</font><font color="#0000ff" size="3">Integer</font><font size="3"> = 0<br>
</font><font color="#0000ff" size="3">For</font><font size="3"> b =&nbsp;0 </font><font color="#0000ff" size="3">To</font><font size="3"> 10&nbsp;<br>
&nbsp;[...] <br>
</font><font color="#0000ff" size="3">&nbsp;Next<br>
<br>
<font color="#000000" size="2">Seems to me there should be an easier way, especially since I won't need 'b' anymore after the loop.&nbsp; I tried
<em>for (dim b as Integer) = 1 to 10</em>, that didn't work; I tried <em>for dim b as Integer = 1 to 10</em>, that didn't work; I tried the classic BASIC method of
<em>for b = 1 to 10</em>, that didn't work without declaring and initializing 'b' ahead of time.&nbsp;
<br>
<br>
</font></p>
</font></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/47674b243f504e0fa2ec9deb01636243#47674b243f504e0fa2ec9deb01636243</link>
		<pubDate>Fri, 19 May 2006 19:32:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/47674b243f504e0fa2ec9deb01636243#47674b243f504e0fa2ec9deb01636243</guid>
		<dc:creator>tsilb</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/SlackmasterK/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">SlackmasterK wrote:</div>
<div class="quoteBody">&#65279;<font color="#0000ff" size="3"><font color="#000000" size="2">I tried
<em>for dim b as Integer = 1 to 10</em>, that didn't work</font></font></div>
</blockquote>
<br>
Almost there. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /><br>
<br>
For b As Integer = 1 To 10<br>
&nbsp;&nbsp; ' Stuff<br>
Next<br>
<br>
That works. This feature was introduced in VS2003, it won't work with 2002.<br>
<br>
EDIT: As a FYI, you can also do this with For Each: For Each x As String In someCollection</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/8ea2d403b93b41f598b79deb0163626e#8ea2d403b93b41f598b79deb0163626e</link>
		<pubDate>Fri, 19 May 2006 19:40:33 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/8ea2d403b93b41f598b79deb0163626e#8ea2d403b93b41f598b79deb0163626e</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">SlackmasterK wrote:</div>
<div class="quoteBody">&#65279;Isn't VB's 'my' namespace similar to C#'s 'this'?</div>
</blockquote>
<br>
No, Me is VB's equivalent to this. My is a utility namespace and was introduced in VB2005. It contains the stuff that C# puts in the Properties namespace (so, settings and resources) but also a lot of other stuff designed to make common tasks easier.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/54ac9de8c12e44619d979deb01636298#54ac9de8c12e44619d979deb01636298</link>
		<pubDate>Fri, 19 May 2006 19:42:24 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/54ac9de8c12e44619d979deb01636298#54ac9de8c12e44619d979deb01636298</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>EDIT: something is wrong with the quote engine:<br>
<br>
Encapusalating your methods into components of Single Responsability will ensure that the GC flags them as unreachable and marks them for deallocation from the stack&nbsp;in a timely manner.<br>
<br>
Again, at least that is my understanding of it, if I am undertsanding your question properly.<br>
<br>
Please fill in any missing parts or add corrections.<br>
<br>
EDIT2: WTF, now half my response is gone.<br>
Is something wrong with C9?</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/8e98e63754244f98a5879deb016362c1#8e98e63754244f98a5879deb016362c1</link>
		<pubDate>Fri, 19 May 2006 19:50:35 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/8e98e63754244f98a5879deb016362c1#8e98e63754244f98a5879deb016362c1</guid>
		<dc:creator>phreaks</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/phreaks/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">H4L0PR1CK wrote:</div>
<div class="quoteBody">&#65279;EDIT: something is wrong with the quote engine:</div>
</blockquote>
<br>
No it isn't. Both you and SlackmasterK had a [/quote] too many in your posts.<br>
<br>
<blockquote>
<div class="quoteAuthor">H4L0PR1CK wrote:</div>
<div class="quoteBody">Encapusalating your methods into components of Single Responsability will ensure that the GC flags them as unreachable and marks them for deallocation from the stack&nbsp;in a timely manner.<br>
<br>
Again, at least that is my understanding of it, if I am undertsanding your question properly.<br>
<br>
Please fill in any missing parts or add corrections.</div>
</blockquote>
<br>
Using the for( int x = 0; x &lt; 10; &#43;&#43;x ) method in C# (or the For x As Integer =&nbsp;0 To 9 method in VB) doesn't help with variable lifetime. Like in C(&#43;&#43;), using this construct means that the variable is out of scope outside the loop body, but .Net does not support
 C(&#43;&#43;)'s destruction semantics for arbitrary scopes, which means the variable's lifetime will end at the end of the method, regardless of the scope.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/0e86826ee531407ea97b9deb016362ee#0e86826ee531407ea97b9deb016362ee</link>
		<pubDate>Fri, 19 May 2006 19:53:26 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/0e86826ee531407ea97b9deb016362ee#0e86826ee531407ea97b9deb016362ee</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Sven Groot wrote:</div>
<div class="quoteBody">&#65279;
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>H4L0PR1CK wrote:</strong>
<hr size="1">
<i>&#65279;EDIT: something is wrong with the quote engine:</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
No it isn't. Both you and SlackmasterK had a too many in your posts.<br>
<br>
<font color="#000080">Ahh, that was the problem.</font><br>
<br>
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>H4L0PR1CK wrote:</strong>
<hr size="1">
<i>Encapusalating your methods into components of Single Responsability will ensure that the GC flags them as unreachable and marks them for deallocation from the stack&nbsp;in a timely manner.<br>
<br>
Again, at least that is my understanding of it, if I am undertsanding your question properly.<br>
<br>
Please fill in any missing parts or add corrections.</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
Using the for( int x = 0; x &lt; 10; &#43;&#43;x ) method in C# (or the For x As Integer =&nbsp;0 To 9 method in VB) doesn't help with variable lifetime. Like in C(&#43;&#43;), using this construct means that the variable is out of scope outside the loop body, but .Net does not support
 C(&#43;&#43;)'s destruction semantics for arbitrary scopes, which means the variable's lifetime will end at the end of the method, regardless of the scope.<br>
<br>
</div>
</blockquote>
<br>
<br>
No kidding? Thanks for the insight.<br>
I always thought it was the same.<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/24b95c1427564671bb849deb0163631c#24b95c1427564671bb849deb0163631c</link>
		<pubDate>Fri, 19 May 2006 19:59:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/24b95c1427564671bb849deb0163631c#24b95c1427564671bb849deb0163631c</guid>
		<dc:creator>phreaks</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/phreaks/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>You can see this if you look at the il code. All the locals are declared at the top of the method body even if they exist in loop contexts.<br>
<br>
I believe the C&#43;&#43; did some work to make code they generate more C&#43;&#43;-y so these rules may work in that language. That's hearsay though.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/a0c12a048e6b489e8f689deb01636346#a0c12a048e6b489e8f689deb01636346</link>
		<pubDate>Fri, 19 May 2006 22:15:42 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/a0c12a048e6b489e8f689deb01636346#a0c12a048e6b489e8f689deb01636346</guid>
		<dc:creator>Mike Sampson</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sampy/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p><blockquote>
<div class="quoteAuthor">Sampy wrote:</div>
<div class="quoteBody">I believe the C&#43;&#43; did some work to make code they generate more C&#43;&#43;-y so these rules may work in that language. That's hearsay though.</div>
</blockquote>
<br>
That's&nbsp;partially&nbsp;correct. If you use the deterministic finalization pattern in an arbitrary scope, it generates a try block to make sure the Dispose&nbsp;method is called at the end of the scope (similar to a using statement in C# or VB). However, just like in C#
 or VB&nbsp;the object can't actually be collected until the method ends.<br>
<br>
For instance:<br>
<font size="2"><font face="Courier New" color="#0000ff" size="2">int</font><font face="Courier New"><font size="2"> main()<br>
{<br>
&nbsp;&nbsp;&nbsp;Console::WriteLine(L</font><font color="#800000" size="2">&quot;Before&quot;</font></font><font face="Courier New"><font size="2">);<br>
&nbsp;&nbsp;&nbsp;{<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System::IO::StreamWriter writer(L</font><font color="#800000" size="2">&quot;D:\test.txt&quot;</font></font><font face="Courier New"><font size="2">);<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;writer.WriteLine(L</font><font color="#800000" size="2">&quot;Hello&quot;</font></font><font face="Courier New"><font size="2">);<br>
&nbsp;&nbsp;&nbsp;}<br>
&nbsp;&nbsp;&nbsp;Console::WriteLine(L</font><font color="#800000" size="2">&quot;After&quot;</font></font><font face="Courier New"><font size="2">);<br>
</font><font color="#0000ff" size="2">&nbsp;&nbsp;&nbsp;return</font></font><font face="Courier New" size="2"> 0;<br>
}</font></font><font size="2"></font><br>
<br>
This is compiled to the following IL when using /clr:safe:<br>
<font size="3">
<p><font face="Courier New" size="2">.method assembly static int32 main() cil managed<br>
</font><font face="Courier New" size="2">{<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;.entrypoint<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;// Code size 65 (0x41)<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;.maxstack 2<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;.locals init ([0] class [mscorlib]System.IO.StreamWriter writer,<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[1] int32 V_1,<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[2] class [mscorlib]System.IO.StreamWriter modopt([mscorlib]System.Runtime.CompilerServices.IsConst) V_2)<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0000: ldc.i4.0<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0001: stloc.1<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0002: ldstr &quot;Before&quot;<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0007: call void [mscorlib]System.Console::WriteLine(string)<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_000c: ldstr &quot;D:\test.txt&quot;<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0011: newobj instance void [mscorlib]System.IO.StreamWriter::.ctor(string)<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0016: stloc.2<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;.try<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;{<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_0017: ldloc.2<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_0018: stloc.0<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_0019: ldloc.0<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_001a: ldstr &quot;Hello&quot;<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_001f: callvirt instance void [mscorlib]System.IO.TextWriter::WriteLine(string)<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_0024: leave.s IL_002d<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;} // end .try<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;fault<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;{<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_0026: ldloc.0<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;IL_0027: callvirt instance void [mscorlib]System.IDisposable::Dispose()<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font><font face="Courier New" size="2">IL_002c: endfinally<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;} // end handler<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_002d: ldloc.0<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_002e: callvirt instance void [mscorlib]System.IDisposable::Dispose()<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0033: ldstr &quot;After&quot;<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0038: call void [mscorlib]System.Console::WriteLine(string)<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_003d: ldc.i4.0<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_003e: stloc.1<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_003f: ldloc.1<br>
</font><font face="Courier New" size="2">&nbsp;&nbsp;&nbsp;IL_0040: ret<br>
</font><font face="Courier New" size="2">} // end of method 'Global Functions'::main</font></p>
</font>What confuses me though is why they don't use try/finally, but instead put a call to Dispose in a&nbsp;fault clause&nbsp;and&nbsp;again in the normal flow of execution.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/b402031668ec464e8fbc9deb01636383#b402031668ec464e8fbc9deb01636383</link>
		<pubDate>Fri, 19 May 2006 22:54:05 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/b402031668ec464e8fbc9deb01636383#b402031668ec464e8fbc9deb01636383</guid>
		<dc:creator>Sven Groot</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/Sven Groot/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Learning VB.NET</title>
		<description><![CDATA[<p>Hi,<br>
<br>
You can also rely on good books. Choosing VB.net or C# is always&nbsp; debatable. <br>
<br>
TRy this Title:&quot;Database programming using VB.net and Sql server 2000&quot;.&nbsp; This book teaches you the complete database application development including masters, transactions and reports.<br>
Visit <a href="http://www.vkinfotek.com">http&#58;&#47;&#47;www.vkinfotek.com</a>.<br>
<br>
Regards<br>
bhar<br>
<br></p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/3b2c2f87ccb949fc99fd9deb016363c8#3b2c2f87ccb949fc99fd9deb016363c8</link>
		<pubDate>Thu, 25 May 2006 14:00:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/190070-Learning-VBNET/3b2c2f87ccb949fc99fd9deb016363c8#3b2c2f87ccb949fc99fd9deb016363c8</guid>
		<dc:creator>bhar</dc:creator>
		<slash:comments>26</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/bhar/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>