Visual Studio Wildcard Compiler Directives?

  • Thread starter Thread starter lucius
  • Start date Start date
Hello lucius,

l> Why can't I do this in C#:
l> using mynamespace.subspace.*;

U can and it works well.

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangel
 
Michael Nemtsev said:
l> Why can't I do this in C#:
l> using mynamespace.subspace.*;

U can and it works well.

Not that I know of - the spec doesn't say any such thing, and the
compiler complains with "Identifier expected".

Personally I have no problems with it working the way it does, I only
with Visual Studio made it as easy to work with using directives as
Eclipse makes it to work with import statements...
 
Hello Jon Skeet [C# MVP],

J> Not that I know of - the spec doesn't say any such thing, and the
J> compiler complains with "Identifier expected".
J>
J> Personally I have no problems with it working the way it does, I only
J> with Visual Studio made it as easy to work with using directives as
J> Eclipse makes it to work with import statements...

Yep, misunderstand OP a little bit :)

---
WBR, Michael Nemtsev [C# MVP].
My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top