user310291
user310291

Reputation: 38190

C# how to import namespaces at once

I'd want to use something like this

using mynamespace.*

which will import mynamespace and all namespaces below but this doesn't seem to work is it possible ?

Upvotes: 0

Views: 858

Answers (2)

WraithNath
WraithNath

Reputation: 18013

Its not possible to do that im afraid

Upvotes: 0

Sasha Goldshtein
Sasha Goldshtein

Reputation: 3519

There is no such directive in C#.

Upvotes: 11

Related Questions