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 November 19th, 2005, 03:05 AM
JAL JAL is offline
Registered User
 
Join Date: Nov 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Enumerations

Today is my first time using C# compiler. Is there any way to make Intellisense display the current enumeration? What I mean is, in VB.Net if I typed:

If e.KeyCode =

Intellisense would IMMEDIATELY display all the possible keycodes which is so helpful for beginners like me.
 
Old November 20th, 2005, 06:50 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Ankur_Verma Send a message via MSN to Ankur_Verma
Default

Well, I would say that the coding styles of both types of languages have been mantained by Microsoft. Finicky, but Visual Basic has always been very forthcoming and forthright in helping programmer (most of the times annoyingly so), and OOPs languages IDEs have always been cold in this regard- and THAT has been mantained. But some IDEs are better poised in this regard like Eclipse doesn’t discriminate amongst languages with its version of 'intellisense'.

To answer your question though, its one of those privileges that only VB programmers enjoy.

And that’s the fun of it too. Because soon you ‘d get use to this apathy, and then you will realize that with visual basic, most of the time you are not supposed to swerve from the beaten paths so VB IDEs show you the options ‘they’ think are right for u with a lot of conviction. With languages like C# and VC++ though, you have a bit more freedom, (in fact with VC++ you have all kind of freedom) so the IDEs don’t pepper u with their opinions and leave you alone letting you do what you want to instead.

Ankur
 
Old November 20th, 2005, 10:49 AM
JAL JAL is offline
Registered User
 
Join Date: Nov 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the info!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Enumerations iansummers VB.NET 3 July 9th, 2007 05:01 PM
Chapter 5: Enumerations Richard Stringfellow BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 3 December 5th, 2006 10:46 PM
Chapter 5: Enumerations Richard Stringfellow Visual Basic 2005 Basics 0 December 2nd, 2006 01:28 PM





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