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

C#

 
GeneralRe: Problems with dll's in C# Pin
cdehelean13-May-03 21:32
cdehelean13-May-03 21:32 
GeneralRe: Problems with dll's in C# Pin
flyingv13-May-03 21:54
flyingv13-May-03 21:54 
QuestionDuplicate 'using' statements = inefficient ? Pin
nosmij13-May-03 20:09
nosmij13-May-03 20:09 
AnswerRe: Duplicate 'using' statements = inefficient ? Pin
Jon Newman13-May-03 22:06
Jon Newman13-May-03 22:06 
GeneralRe: Duplicate 'using' statements = inefficient ? Pin
nosmij13-May-03 23:04
nosmij13-May-03 23:04 
GeneralRe: Duplicate 'using' statements = inefficient ? Pin
Jon Newman13-May-03 23:30
Jon Newman13-May-03 23:30 
GeneralRe: Duplicate 'using' statements = inefficient ? Pin
nosmij14-May-03 17:42
nosmij14-May-03 17:42 
AnswerRe: Duplicate 'using' statements = inefficient ? Pin
James T. Johnson14-May-03 14:19
James T. Johnson14-May-03 14:19 
nosmij wrote:
Does this affect the exe generated?

No, the using statements are just an aid to you as a programmer so you don't have to type out the full namespaces for all of the classes you want to use. If the C# compiler can't find the class in the current namespace it will then look through the namespaces provided by the using statement to see if the class exists there.

Once the C# code is compiled down to IL all classes are fully qualified with their namespaces. You can see this by running ildasm on a program you have compiled and looking through the code it shows you.

James

"It is self repeating, of unknown pattern"
Data - Star Trek: The Next Generation

GeneralRe: Duplicate 'using' statements = inefficient ? Pin
nosmij14-May-03 17:49
nosmij14-May-03 17:49 
GeneralRe: Duplicate 'using' statements = inefficient ? Pin
James T. Johnson14-May-03 18:24
James T. Johnson14-May-03 18:24 
GeneralRe: Duplicate 'using' statements = inefficient ? Pin
nosmij14-May-03 18:48
nosmij14-May-03 18:48 
GeneralRe: Duplicate 'using' statements = inefficient ? Pin
nosmij14-May-03 19:05
nosmij14-May-03 19:05 
GeneralRe: Duplicate 'using' statements = inefficient ? Pin
Jon Newman14-May-03 22:56
Jon Newman14-May-03 22:56 
GeneralReally hard question #1 Pin
eggie513-May-03 20:02
eggie513-May-03 20:02 
GeneralRe: Really hard question #1 Pin
Robin Golden14-May-03 2:39
Robin Golden14-May-03 2:39 
GeneralRe: Really hard question #1 Pin
eggie514-May-03 7:52
eggie514-May-03 7:52 
GeneralRe: Really hard question #1 Pin
eggie514-May-03 9:36
eggie514-May-03 9:36 
GeneralRe: Really hard question #1 Pin
James T. Johnson14-May-03 14:13
James T. Johnson14-May-03 14:13 
GeneralRe: Really hard question #1 Pin
eggie514-May-03 16:57
eggie514-May-03 16:57 
GeneralRe: Really hard question #1 Pin
James T. Johnson14-May-03 17:07
James T. Johnson14-May-03 17:07 
GeneralRe: Really hard question #1 Pin
eggie514-May-03 17:46
eggie514-May-03 17:46 
GeneralRe: Really hard question #1 Pin
jeff_martin14-May-03 5:48
jeff_martin14-May-03 5:48 
Generalquestion on format color for DataGrid Pin
cruscal13-May-03 18:14
cruscal13-May-03 18:14 
QuestionResizable control? Pin
Wmzong13-May-03 16:41
Wmzong13-May-03 16:41 
GeneralDataGrid... Row Selection & Column Header Alignment Pin
jmt9n13-May-03 13:28
jmt9n13-May-03 13:28 

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.