Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 20th, 2008, 07:37 PM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default VS 2003 and C#

I just recently bought "Beginning C# 2008". I have VS 2003, but figured I could work through some of the issues just to get started. Anyhow right off the bat it doesn't recognize Console.ReadKey(); So my questions are...

1. Why do I get an error on this, it is a later version of C#?
2. Can I update my VS 2003 to the latest 3.0 C# without installing VS 2008? If that is my problem.

Thanks everyone

Sincerely,
Randy Trulson
www.NeuronGames.com
 
Old August 20th, 2008, 09:39 PM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

From what I have gathered...ReadKey is in a framework above .NET 1.1 which I also am understanding is the highest level supported by VS 2003....

Is this correct? So I have to just buy VS 2008 or use c# Express 2008.

Sincerely,
Randy Trulson
www.NeuronGames.com
 
Old August 21st, 2008, 02:56 AM
samjudson's Avatar
Friend of Wrox
 
Join Date: Aug 2007
Posts: 2,128
Thanks: 1
Thanked 189 Times in 188 Posts
Default

I think it would be much easier for you to get Visual C# 2008 Express - there are probably ways around the limitations you are coming across (like you might be able to use Console.ReadLine() or Console.Read()) but seeing as you are new to C# and .Net you aren't going to know what these are.

/- Sam Judson : Wrox Technical Editor -/
 
Old August 21st, 2008, 05:18 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Yes, ReadKey is in version 2.0 and greater.

--

Joe (Microsoft MVP - XML)
 
Old August 21st, 2008, 10:50 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Randy,

Go with Sam's suggestion. Get yourself a free copy of VCS2008 Express. There's not much point in learning a new technology on an old implementation of it.

-Peter
compiledthoughts.com
 
Old August 21st, 2008, 04:17 PM
Registered User
 
Join Date: Aug 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey guys thanks for the help. I downloaded the 2008 Express like Sam mentioned. I will probably upgrade everyone here to VS 2008 soon so we can have source control and all that. For now I will learn on the Express though.

Again. Thanks for the help, and for making books for people like me that are too lazy to scour the internet for samples and trudge through the MSDN. I know all the info is there, but it is just easier to read a book. :D

Sincerely,
Randy Trulson
www.NeuronGames.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
VS 2003 Project SKhna ASP.NET 2.0 Basics 1 February 4th, 2008 02:47 AM
Help me please aboutVS 2003 and Office 2003 Nashja C# 2 May 18th, 2005 11:58 PM
VS 2003 zamankazi BOOK: ASP.NET Website Programming Problem-Design-Solution 3 November 16th, 2004 10:40 AM
Invoking Word 2003 document from InfoPath 2003 debsoft General .NET 0 April 28th, 2004 08:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.