Is there a way in C# to import everything inside a namespace like there is in Java with the wildcard character?
import java.awt.*;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That’s what the normal using directive does. For instance:
means you can use Console, Guid, Int32 etc without qualification. The closest equivalent to the single import in Java is:
(etc)
but that’s not used very often.