Results 1 to 2 of 2

Thread: Problem with using Console

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2003
    Location
    Eden Prairie Minnesota
    Posts
    301

    Resolved Problem with using Console

    C:\Documents and Settings\JoeL Zimmerman\My Documents\My Programming\C#\Proxy\Proxy.GUI.Console\EntryPoint.cs(96): The type or namespace name 'WriteLine' does not exist in the class or namespace 'Proxy.GUI.Console' (are you missing an assembly reference?)


    I Get that error whenever i make my Main Startup Class in a name space. I get the same error everywhere i use a Method included in the Console Class.
    Last edited by BaDDBLooD; Feb 1st, 2006 at 06:26 PM.

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Problem with using Console

    Everywhere you are referring to 'Console' unqualified it is being interpreted as the Proxy.GUI.Console namespace, which takes precedence over the System.Console class. You must either choose a different name for your namespace or qualify the System.Console class when you refer to it.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width