   [.net] Variables private to a Namespace?
  a) is that even possible?b) the reason for me asking is because I have a XMLDocument that I want to access, modify, and update in 2 different Forms. as of right now, I made it static. so should I make a static class (struct in C) of variables I want all Forms, Classes, Interfaces (etc) to access or is there a better way of doing this?   
  I'm not sure, but I think an anonymous namespace does that:namespace Foo{    namespace    {   //stuff here isn't visible    }}Again, I'm a little vague on those rules so if someone could confirm that would be good.   ;  1)   I think Promit is correct.  Also, this might help.  Scroll down to the bottom towards the phrase "Private variables in file scope can be created by using an anonymous namespace."2) Personally, I'd just make a singleton class containing the data...  I haven't ever done this, so I wouldn't really know.   