Thank you. I agree with you, I'll be pulling my using statements to the top of the page. Funny thing however, Microsoft had a Direct X 9 sample that had the using statments inside the namespace, this is actually where I picked it up from. Perhaps there was a specific purpose that I overlooked. Anyway, thanks everyone else as well.
V
v3ct0r
@v3ct0r
Posts
-
Using... before or after the Namespace -
Using... before or after the NamespaceSweet thanx. I don't know why I've adopted putting them inside the namespace, I was happy with them outside and then suddenly I decided to put them in for no apparent reason:rolleyes:.
-
Using... before or after the NamespaceThis is a bit confusing, I've seen the using keyword used both before and after the Namespace. using System; using System.Data; namespace MyCompany { public MyClass {} } as well as namespace MyCompany { using System; using System.Data; public MyClass {} } I've used both and cannot find a difference in actual performance. Is this something that is purely for personal choice or is there some sore of advantage to using one over the other.