visual studio add namespace automatically code example
Example: how to manage namespaces in visual studio
Just right click on the name you want to change
(this could be namespace or whatever else)
and select Refactor->Rename... Enter new name,
leave location as [Global Namespace],
check preview if you want and you're done!
write MyName in Assembly name and Default namespace textbox, then save