in Search
ATTENTION: I've decided to put the upgrade on hold due to a compatibility issue of our server environment with the latest CS installer package. CS 2008 now requires SQL Server 2005 as the backend DB but our database server currenlty has SQL Server 2000 installed on it. I'll resume the upgrade once I figure out when Telligent is releasing a patch to the schema compatibility issue. For now, we will continue to use the old version of CS while waiting for the said patch. If you have any questions about this process, please don't hesitate to post them on our forums and I'll answer them as soon as I can. Thanks for your patience and support guys! I'll let you know as soon as this is resolved. - Keith Rull
Latest post 04-28-2008 6:48 PM by modchip. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 04-28-2008 10:07 AM

    • hbk
    • Top 200 Contributor
    • Joined on 04-28-2008
    • Binan, Laguna
    • Posts 5
    • Points 115

    error CS 0117

    Hi Guys,

    I'm a new member here and currently self studying C# language. I'm trying to do the exercises on the book I'm reading (C# Primer Plus by Klaus Michelsen) however I cannot compile the program due to this error.

    error CS 0117  ‘System.Console’ does not contain a definition for ‘Writeline’

    Hope you can share some information on this as I really would like to learn the language.

     

    Thanks in advance.

     HBK 

    You make the rules, I'll break 'em.
    • Post Points: 50
  • 04-28-2008 11:13 AM In reply to

    • keithrull
    • Top 10 Contributor
    • Joined on 08-08-2005
    • San Diego, CA
    • Posts 1,956
    • Points 39,165

    Re: error CS 0117

    Hi HBK,

    Welcome to devpinoy!

    I believe the problem is because of a typo on the book. C# is case-sensitive so it won't recognize Console.Writeline because the correct call is Console.WriteLine.

    HTH. Keep on posting your questions and we'll help you out in any way we can ;)

    devpinoy sig

    • Post Points: 20
  • 04-28-2008 11:29 AM In reply to

    • marl
    • Top 10 Contributor
    • Joined on 12-15-2007
    • Long Beach, CA
    • Posts 319
    • Points 3,995

    Re: error CS 0117

    I think you're better off with the book "Head First C#" (if you don't have it yet). Grab it from Amazon: http://www.amazon.com/Head-First-C-Brain-Friendly-Guides/dp/0596514824/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1209407925&sr=8-1 

    devpinoy sig
    • Post Points: 20
  • 04-28-2008 12:21 PM In reply to

    • hbk
    • Top 200 Contributor
    • Joined on 04-28-2008
    • Binan, Laguna
    • Posts 5
    • Points 115

    Re: error CS 0117

    Hi Keith / Dev Pinoy guys,

    I appreciate the prompt reply.

    You're the man! I was able to compile the code :)

    Thanks for the warm welcome as well.

    Regards,

     HBK

    You make the rules, I'll break 'em.
    • Post Points: 5
  • 04-28-2008 12:31 PM In reply to

    • hbk
    • Top 200 Contributor
    • Joined on 04-28-2008
    • Binan, Laguna
    • Posts 5
    • Points 115

    Re: error CS 0117

    Hi Marl,

    Thanks for the suggestion. Perhaps I'll try that book too when I'm done with C# Primer Plus which I also got from Amazon. Hopefully the book I purchased don't have that many typo errors :)

     Regards,

     HBK

    You make the rules, I'll break 'em.
    • Post Points: 20
  • 04-28-2008 1:16 PM In reply to

    • marl
    • Top 10 Contributor
    • Joined on 12-15-2007
    • Long Beach, CA
    • Posts 319
    • Points 3,995

    Re: error CS 0117

    hbk:
    Thanks for the suggestion. Perhaps I'll try that book too when I'm done with C# Primer Plus which I also got from Amazon 

    you're welcome...that was suggested to me by Keith. Feel free to post any types of questions that you may have. you can also follow some DevPinoy members in Twitter.com. DevPinoy is an international community, so you're in the right place at the right time.

    devpinoy sig
    • Post Points: 5
  • 04-28-2008 6:48 PM In reply to

    • modchip
    • Top 10 Contributor
    • Joined on 02-09-2006
    • Ivalice
    • Posts 710
    • Points 10,110

    Re: error CS 0117

    Hi "Sexy Boy", LOL.

    I have a guess that C# is case sensitive, why not try;

    "WriteLine"

    Ex: System.Console.WriteLine();

    Hope it works. :D 

     

    EDIT: Waaahhhhh! I did not see that Keith has the better answer... oh well. :)

    Filed under: ,
    • Post Points: 5
Page 1 of 1 (7 items)