<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/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>Πρώτα Βήματα - Γλώσσες προγραμματισμού</title><link>https://www.dotnetzone.gr:443/cs/forums/74/ShowForum.aspx</link><description>Τα πρώτα βήματα στις γλώσσες VB6, VB.NET, και C#</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: typeof σε Visual Basic?</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/28153.aspx</link><pubDate>Sat, 07 Apr 2007 22:27:07 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:28153</guid><dc:creator>JohnL</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/28153.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=74&amp;PostID=28153</wfw:commentRss><description>Ευχαριστώ! Ακριβώς αυτό που θέλω!&lt;br&gt;</description></item><item><title>Απ: typeof σε Visual Basic?</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/28151.aspx</link><pubDate>Sat, 07 Apr 2007 21:52:36 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:28151</guid><dc:creator>cap</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/28151.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=74&amp;PostID=28151</wfw:commentRss><description>&lt;P&gt;Το αντίστοιχο που μπορείς να χρησιμοποιήσεις στη VB.NET είναι η GetType().&lt;/P&gt;
&lt;P&gt;Περισσότερα σχετικά με τις αντιστοιχίσεις μεταξύ C# - VB.NET μπορείς να βρείς και εδώ: &lt;A href="http://www.harding.edu/USER/fmccown/WWW/vbnet_csharp_comparison.html"&gt;http://www.harding.edu/USER/fmccown/WWW/vbnet_csharp_comparison.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Αντιγράφω ενα πολύ μικρό απόσπασμα για τις GetType, typeof:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;C#&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;int x;&lt;BR&gt;Console.WriteLine(x.&lt;STRONG&gt;GetType&lt;/STRONG&gt;());&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;EM&gt;&lt;FONT color=#008000&gt;&lt;SPAN class=comment&gt;// Prints System.Int32&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/EM&gt;Console.WriteLine(&lt;STRONG&gt;typeof&lt;/STRONG&gt;(int));&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;SPAN class=comment&gt;&lt;EM&gt;&lt;FONT color=#008000&gt;// Prints System.Int32&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt; &lt;BR&gt;Console.WriteLine(x.&lt;B&gt;GetType().Name&lt;/B&gt;); &amp;nbsp; &lt;SPAN class=comment&gt;&lt;EM&gt;&lt;FONT color=#008000&gt;// prints Int32&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;VB.NET&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Dim&lt;/STRONG&gt; x &lt;STRONG&gt;As&lt;/STRONG&gt; Integer &lt;BR&gt;Console.WriteLine(x.&lt;STRONG&gt;GetType&lt;/STRONG&gt;())&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class=comment&gt;&lt;EM&gt;&lt;FONT color=#008000&gt;'&amp;nbsp;Prints System.Int32&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt; &lt;BR&gt;Console.WriteLine(&lt;B&gt;GetType&lt;/B&gt;(Integer)) &amp;nbsp; &lt;SPAN class=comment&gt;&lt;EM&gt;&lt;FONT color=#008000&gt;' Prints System.Int32&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt; &lt;BR&gt;Console.WriteLine(&lt;STRONG&gt;TypeName&lt;/STRONG&gt;(x))&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;SPAN class=comment&gt;&lt;EM&gt;&lt;FONT color=#008000&gt;' Prints Integer&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN class=comment&gt;&lt;EM&gt;&lt;FONT color=#008000&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;/SPAN&gt;</description></item><item><title>typeof σε Visual Basic?</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/28118.aspx</link><pubDate>Sat, 07 Apr 2007 08:25:45 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:28118</guid><dc:creator>JohnL</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/28118.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=74&amp;PostID=28118</wfw:commentRss><description>&lt;span class="postbody"&gt;Πώς μεταφράζεται η εντολή typeof της C# σε Visual Basic?&lt;/span&gt;</description></item></channel></rss>