locked
full address

    Question

  • why when I creat a class in c# and then create new page xaml and when write code to behind c# and I want used that class I should write full address that class like : Myfile.myclass


    Amir Ameri

    • Edited by AMIR ameri Friday, November 28, 2014 12:17 PM
    Friday, November 28, 2014 12:16 PM

Answers

  • Hi AMIR,

    Not quite understand your question without a specific scenario, but I think the answer for you is "NO".

    Since both of your classes in the same namespace, you do not need add extra namespace before the class name while using them. Try this with your own Visual Studio, you can find the result.

    --James


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Proposed as answer by Lahiru Nimantha Friday, November 28, 2014 5:31 PM
    • Marked as answer by AMIR ameri Friday, December 05, 2014 5:25 AM
    Friday, November 28, 2014 3:44 PM
    Moderator