views:

19

answers:

1

when we press . (dot) key after any character and string literal visual studio open intelisense window but not for numeric literal. I want to why visual studio don't do that for numeric? what the technical reason is behind this.

+1  A: 

Because 8.9 is a number, and to get there you type 8 + ., thus 8. could become a number.

Intellisense on decimal numbers could get annoying really quickly.

Simeon Pilgrim