Click here to Skip to main content
16,004,977 members
Home / Discussions / C#
   

C#

 
GeneralRe: ExecuteNonQuery or using a dataset? Pin
Forrest Feather20-Mar-04 1:47
Forrest Feather20-Mar-04 1:47 
GeneralUsing... before or after the Namespace Pin
v3ct0r19-Mar-04 12:07
v3ct0r19-Mar-04 12:07 
GeneralRe: Using... before or after the Namespace Pin
Werdna19-Mar-04 12:21
Werdna19-Mar-04 12:21 
GeneralRe: Using... before or after the Namespace Pin
v3ct0r19-Mar-04 13:23
v3ct0r19-Mar-04 13:23 
GeneralRe: Using... before or after the Namespace Pin
Michael Flanakin22-Mar-04 4:34
Michael Flanakin22-Mar-04 4:34 
GeneralRe: Using... before or after the Namespace Pin
Duarte Cunha Leão18-Jul-10 11:54
Duarte Cunha Leão18-Jul-10 11:54 
GeneralRe: Using... before or after the Namespace Pin
Colin Angus Mackay20-Mar-04 1:28
Colin Angus Mackay20-Mar-04 1:28 
GeneralRe: Using... before or after the Namespace Pin
Michael Flanakin22-Mar-04 4:31
Michael Flanakin22-Mar-04 4:31 
As you've seen from everyone else's comments, you can put your using statements in or outside of the namespace declaration. Now, to caveat that, I'd like to highly suggest that you put them outside of it. Most code that you see should have the using statements at the top of the class file, so I'd just stick with this standard. As if industry use wasn't enough, it's actually Microsoft's suggested method.

Flexibility is nice, but there are times when you should choose standards over that flexibility. I think that this is one of those times.

Michael Flanakin
Web Log
GeneralRe: Using... before or after the Namespace Pin
v3ct0r22-Mar-04 5:13
v3ct0r22-Mar-04 5:13 
GeneralRe: Using... before or after the Namespace Pin
Michael Flanakin22-Mar-04 5:21
Michael Flanakin22-Mar-04 5:21 
GeneralCustom Controls derived from Forms.Control Question Pin
mtoney19-Mar-04 10:27
mtoney19-Mar-04 10:27 
GeneralNeed answers for some test questions Pin
Alvaro Mendez19-Mar-04 8:41
Alvaro Mendez19-Mar-04 8:41 
GeneralRe: Need answers for some test questions Pin
Judah Gabriel Himango19-Mar-04 9:13
sponsorJudah Gabriel Himango19-Mar-04 9:13 
GeneralRe: Need answers for some test questions Pin
Mazdak19-Mar-04 9:35
Mazdak19-Mar-04 9:35 
GeneralRe: Need answers for some test questions Pin
Alvaro Mendez19-Mar-04 10:32
Alvaro Mendez19-Mar-04 10:32 
GeneralRe: Need answers for some test questions Pin
Alvaro Mendez19-Mar-04 10:17
Alvaro Mendez19-Mar-04 10:17 
GeneralRe: Need answers for some test questions Pin
Colin Angus Mackay20-Mar-04 1:35
Colin Angus Mackay20-Mar-04 1:35 
GeneralRe: Need answers for some test questions Pin
Werdna19-Mar-04 10:31
Werdna19-Mar-04 10:31 
GeneralRe: Need answers for some test questions Pin
John Fisher19-Mar-04 11:35
John Fisher19-Mar-04 11:35 
GeneralRe: Need answers for some test questions Pin
leppie20-Mar-04 1:07
leppie20-Mar-04 1:07 
GeneralRe: Need answers for some test questions Pin
leppie20-Mar-04 1:05
leppie20-Mar-04 1:05 
GeneralRe: Need answers for some test questions Pin
Curi0us_George20-Mar-04 5:33
Curi0us_George20-Mar-04 5:33 
GeneralRe: Need answers for some test questions Pin
Heath Stewart20-Mar-04 13:05
protectorHeath Stewart20-Mar-04 13:05 
GeneralRe: Need answers for some test questions Pin
Curi0us_George21-Mar-04 14:07
Curi0us_George21-Mar-04 14:07 
GeneralRe: Need answers for some test questions Pin
Heath Stewart21-Mar-04 14:12
protectorHeath Stewart21-Mar-04 14:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.