Intelisence and C Sharp

  • Thread starter Thread starter ECVerify.com
  • Start date Start date
E

ECVerify.com

I have a basic question about something as simple as Intelisence.

When making variables in VB.NET I do
Dim a as <<<----- and right here pops up intelesence of my type
options, so that helps me decide what I may want, Double, Single,
Int32, Integer etc.

Well with C# I put in
a <<<---- and of course nothing pops up, because it does not know what
I am gonna do next, so I never get the option to pick double, float,
short, int etc.

I tried:

"a this." , hoping to see double, float, short, int etc. well of
course I don't, all I get is members of my class.

Just wanted to know if there is an easy way to get all possible types
of data types from Intelisence.

It is a matter of convince and not necessity, just thought it was a
nice to have in VB.NET and someone else may have found a way to get
the types.

Thanks, Ed,
 
Ed,

Have you tried hitting Ctrl+Space at the beginning of a line?
Intellisense should pop up then with the type definitions.

Hope this helps.
 
****** Let me re-say this. sorry I had some typo's

When making variables in VB.NET I do
Dim a as <<<----- and right here pops up intelesence of my type
options, so that helps me decide what I may want, Double, Single,
Int32, Integer etc.

Well with C# I put in
long a <<<---- when I start typing of course nothing pops up, because
it does not know what I am gonna do, so I never get the option to pick
double, float, short, int etc. (or better yet classes that I have
access to that may have an odd spelling)

I tried:

"this." , hoping to see double, float, short, int etc. well of course
I don't, all I get is members of my current class.

Just wanted to know if there is an easy way to get all possible types
of data types from Intelisence.

It is a matter of convince and not necessity, just thought it was a
nice to have in VB.NET and someone else may have found a way to get
the types.

Thanks, Ed,
 
ECVerify.com said:
****** Let me re-say this. sorry I had some typo's

When making variables in VB.NET I do
Dim a as <<<----- and right here pops up intelesence of my type
options, so that helps me decide what I may want, Double, Single,
Int32, Integer etc.

Well with C# I put in
long a <<<---- when I start typing of course nothing pops up, because
it does not know what I am gonna do, so I never get the option to pick
double, float, short, int etc. (or better yet classes that I have
access to that may have an odd spelling)

Hi Ed -

You could try:

long a = new <<<---- window pops up
 
Nicholas Paldino said:
Ed,

Have you tried hitting Ctrl+Space at the beginning of a line?
Intellisense should pop up then with the type definitions.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

ECVerify.com said:
I have a basic question about something as simple as Intelisence.

When making variables in VB.NET I do
Dim a as <<<----- and right here pops up intelesence of my type
options, so that helps me decide what I may want, Double, Single,
Int32, Integer etc.

Well with C# I put in
a <<<---- and of course nothing pops up, because it does not know what
I am gonna do next, so I never get the option to pick double, float,
short, int etc.

I tried:

"a this." , hoping to see double, float, short, int etc. well of
course I don't, all I get is members of my class.

Just wanted to know if there is an easy way to get all possible types
of data types from Intelisence.

It is a matter of convince and not necessity, just thought it was a
nice to have in VB.NET and someone else may have found a way to get
the types.

Thanks, Ed,

Nicholas, yes, but it still does not bring up double, float, short, int etc.

It does however bring up the Int32 etc.

Thanks, Ed,
 
Back
Top