In-line namespaces and declaring namespaces in other c# functions