<?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>WinForms</title><link>https://www.dotnetzone.gr:443/cs/forums/12/ShowForum.aspx</link><description>Θέματα για rich client / windows εφαρμογές, σε οποιαδήποτε γλώσσα (VB.NET, C#, managed C++, κ.α.)</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Casting int 2 int[]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/4924.aspx</link><pubDate>Thu, 01 Sep 2005 20:22:22 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:4924</guid><dc:creator>pSychoK!LLer</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/4924.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=4924</wfw:commentRss><description>Ναι όντως.</description></item><item><title>Απ: Casting int 2 int[]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/4915.aspx</link><pubDate>Thu, 01 Sep 2005 19:57:14 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:4915</guid><dc:creator>rousso</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/4915.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=4915</wfw:commentRss><description>Δεν είναι casting αυτό. Inline array intializer είναι. Στην πραγματικότητα είναι C# specific σύνταξη η οποία αντιστοιχεί στο να καλέσεις τον constructor και να του περάσεις σαν παραμέτρους τα items του array. Κάτι παρόμοιο βέβαια έχει και η VB.NET κλπ...&amp;nbsp;&lt;BR&gt;&lt;BR&gt;rousso</description></item><item><title>Απ: Casting int 2 int[]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/4904.aspx</link><pubDate>Thu, 01 Sep 2005 19:21:38 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:4904</guid><dc:creator>pSychoK!LLer</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/4904.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=4904</wfw:commentRss><description>eyxaristw poly&lt;br&gt;den xrisimopoiousa to new kai apotyxaine na kanei to casting</description></item><item><title>Απ: Casting int 2 int[]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/4903.aspx</link><pubDate>Thu, 01 Sep 2005 19:16:54 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:4903</guid><dc:creator>rousso</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/4903.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=4903</wfw:commentRss><description>xaxa! pali me prolabe o pkanavos!!!</description></item><item><title>Απ: Casting int 2 int[]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/4902.aspx</link><pubDate>Thu, 01 Sep 2005 19:16:23 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:4902</guid><dc:creator>rousso</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/4902.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=4902</wfw:commentRss><description>call:
&lt;PRE class=source&gt;A(&lt;FONT color=blue&gt;new&lt;/FONT&gt; &lt;FONT color=blue&gt;int&lt;/FONT&gt;[] {B}); &lt;/PRE&gt;

rousso</description></item><item><title>Απ: Casting int 2 int[]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/4901.aspx</link><pubDate>Thu, 01 Sep 2005 19:13:15 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:4901</guid><dc:creator>Παναγιώτης Καναβός</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/4901.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=4901</wfw:commentRss><description>Πρέπει να περάσεις την τιμή σαν πίνακα:&lt;br&gt;A(new int[]{B});</description></item><item><title>Casting int 2 int[]</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/4895.aspx</link><pubDate>Thu, 01 Sep 2005 19:04:26 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:4895</guid><dc:creator>pSychoK!LLer</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/4895.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=4895</wfw:commentRss><description>&lt;P&gt;Καλημέρα,&lt;/P&gt;
&lt;P&gt;Ας υποθέσουμε ότι έχω μια συναρτηση&amp;nbsp; &lt;STRONG&gt;A( int[] alfa)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;θέλω να την καλέσω περνώντας σαν όρισμα μια μεταβλητη π.χ. &lt;STRONG&gt;int B&lt;/STRONG&gt;, κάνοντας το casting πάνω στην κλήση&lt;/P&gt;
&lt;P&gt;Δηλαδή με κάποιο τρόπο να πάρει τη &lt;STRONG&gt;B&lt;/STRONG&gt; σαν το πρώτο item του array&lt;/P&gt;
&lt;P&gt;Πως γίνεται αυτό;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ευχαριστώ προκαταβολικά.....&lt;/P&gt;</description></item></channel></rss>