I have a project having a static and non-static class. I want to access this class variable and update from another project under same solution. How I can do this? [For both static and non-static case]
Share
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.
Using FirstProject.ns;, then you can use the class you want to access.Note that: the class you want to use in the second project should has at least an acces modifier
publicin order to appear in your second project.