Anders Hejlsberg: "LINQ allows query expressions to benefit from ... compile-time syntax checking, static typing and IntelliSense that was previously available only to imperative code."
Curiosity almost killed me when they first talked about the Fox in VB some weeks ago. While I´m still trying to partially understand the code and get through the article half way, there is a Sedna idea:
*************************
Could you enhance Intellisense that it kicks in if one uses square brackets instead of double quotes for query expressions,...?
*************************
My idea actually originates from the constant values in VFP being filled in at precompile time when using square brackets instead of other delimiters (single / double quotes).
#DEFINE wdthxrnr 3
gaCdxX(1,1)=[CHARFIELD+STR(INTFIELD,wdthxrnr)]
gaCdxX(1,1)=[CHARFIELD+STR(INTFIELD,3)]
BTW: I´d *never ever* found this little gem nowadays if I hadn´t known it for ten years or more.
And: I´d *never ever* comprehend the difference between Evaluate() and macro substitution from the docs if I wouldn´t already know.
And: Comments would be greatly appreciated. Still waiting for ALocks() comments and a working Isolated VFP COM object in a .Net app.
Thanks
G