How can I use "public variables" in a same or a different namespace but in a same application?
for example:
1st namespace in a BookStore web application
namespace BookStore
{
public partial class index : System.Web.UI.Page
{
public string command; // the public variable declared
2nd namespace, in the Same BookStore application
namespace Admin.BookStore // here i try to include the BookStore namespace..
{
public partial class admin : System.Web.UI.Page
{
void access()
{
command = "something text" ;
Here I think that command
should be seen in the intellisense. I think because it was a public variable, but it doesn't show up.