<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error message in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566597#M40709</link>
    <description>&lt;P&gt;I made a mistake by using the console system in Class file , sorry for confusion .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied and pasted the codes in console file but the program is prompted with anther error message that maybe related&amp;nbsp;the main function .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 01 Apr 2015 11:19:45 GMT</pubDate>
    <dc:creator>J-Rocks</dc:creator>
    <dc:date>2015-04-01T11:19:45Z</dc:date>
    <item>
      <title>Error message</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566407#M40705</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hello guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am facing a problem with my learning example , can anybody have a look at the codes and why I have that warning message and how to fix this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" alt="error.JPG" src="https://forums.autodesk.com/t5/image/serverpage/image-id/161454i5DFD5E55BD0E99E2/image-size/original?v=mpbl-1&amp;amp;px=-1" title="error.JPG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the C# codes :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ClassLibrary2
{
    class car
    {
        int id;
        string color;
        string model;

        public void usage(int id, string color, string model)
    {
        id = id;
        color = color;
        model = model;
    }
        public void showme()
        {
            Console.WriteLine("ID is : {0} \n Color is : {1} \n Model is : {2}", id, color,model);
        }
    }
    public class Class1
    {     
        static void main(string [] args)
        {
            car mycar = new car();
            mycar.usage(10, "Black", "BMW");
            mycar.showme();

        }
    }
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance .&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 08:23:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566407#M40705</guid>
      <dc:creator>J-Rocks</dc:creator>
      <dc:date>2015-04-01T08:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error message</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566438#M40706</link>
      <description>&lt;P&gt;This is a class project, which will be used as an extension to a (Main) program, such as AutoCAD.&lt;BR /&gt;Therefore this class cannot be started directly (from visual studio). Add AutoCAD to you're solution as a separate project, and set the property &lt;STRONG&gt;StartupProject&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG border="0" alt="Screenshot_1.png" src="https://forums.autodesk.com/t5/image/serverpage/image-id/161458i2CE1EEFD7FD40CFA/image-size/original?v=mpbl-1&amp;amp;px=-1" title="Screenshot_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 09:04:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566438#M40706</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2015-04-01T09:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error message</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566576#M40707</link>
      <description>&lt;P&gt;Thank you SENL for your reply&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tthe codes that I posted above is not to work with Autocad and it is a C sharp Class , I tried to right click on the class but nothing is prompted as you did on Autocad plugin .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to start a new C# class file and the right click on the class brings nothing , any other solution .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much .&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 11:00:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566576#M40707</guid>
      <dc:creator>J-Rocks</dc:creator>
      <dc:date>2015-04-01T11:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error message</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566596#M40708</link>
      <description>Then this question does not belong to this forum.&lt;BR /&gt;However you can get this working by starting a new project of type Console Application, and past the code in that project.</description>
      <pubDate>Wed, 01 Apr 2015 11:19:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566596#M40708</guid>
      <dc:creator>SENL1362</dc:creator>
      <dc:date>2015-04-01T11:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error message</title>
      <link>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566597#M40709</link>
      <description>&lt;P&gt;I made a mistake by using the console system in Class file , sorry for confusion .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I copied and pasted the codes in console file but the program is prompted with anther error message that maybe related&amp;nbsp;the main function .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 01 Apr 2015 11:19:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/error-message/m-p/5566597#M40709</guid>
      <dc:creator>J-Rocks</dc:creator>
      <dc:date>2015-04-01T11:19:45Z</dc:date>
    </item>
  </channel>
</rss>

