Check this simple sample:
public class Someone{ // [the:A]
}
public class Another{
public class Someone{ // [the:B]
}
public class DoSomething{
**how can I access Someone in root, which is [the:A]**?
}
}
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.
Use the “global::” keyword, or use a using; statement at the top.
or, in your using statements:
and in the event that there’s an ambiguation in your namespaces, the global:: keyword can be used there too: