Click here to Skip to main content
15,891,248 members
Home / Discussions / C#
   

C#

 
QuestionCreating DLL's Pin
Dewald28-Aug-07 2:39
Dewald28-Aug-07 2:39 
AnswerRe: Creating DLL's Pin
led mike28-Aug-07 4:59
led mike28-Aug-07 4:59 
AnswerRe: Creating DLL's Pin
sthotakura28-Aug-07 5:26
sthotakura28-Aug-07 5:26 
QuestionThe "using" statements at the top of a .cs Pin
Vodstok28-Aug-07 2:32
Vodstok28-Aug-07 2:32 
AnswerRe: The "using" statements at the top of a .cs Pin
Martin#28-Aug-07 2:41
Martin#28-Aug-07 2:41 
GeneralRe: The "using" statements at the top of a .cs Pin
Vodstok28-Aug-07 2:46
Vodstok28-Aug-07 2:46 
AnswerRe: The "using" statements at the top of a .cs Pin
Spacix One28-Aug-07 2:42
Spacix One28-Aug-07 2:42 
GeneralRe: The "using" statements at the top of a .cs Pin
Scott Dorman28-Aug-07 4:19
professionalScott Dorman28-Aug-07 4:19 
I think you're mixing the concepts. There are "using directives", which the OP is mistakenly calling "statements", that appear at the top of the code file and tell the compiler that you are "using" types out of the specified namespace.

The "using statements" are a type of syntax shorthand for wrapping an IDisposable type in a try/finally block. They are completely independent and separate from one another. The only commonality is that they, unfortunately, share the same keyword.


Scott.

—In just two days, tomorrow will be yesterday.

[Forum Guidelines] [Articles] [Blog]

GeneralRe: The "using" directives at the top of a .cs Pin
PIEBALDconsult28-Aug-07 6:58
mvePIEBALDconsult28-Aug-07 6:58 
GeneralRe: The "using" directives at the top of a .cs Pin
Scott Dorman28-Aug-07 7:00
professionalScott Dorman28-Aug-07 7:00 
AnswerRe: The "using" statements at the top of a .cs Pin
Mark Churchill28-Aug-07 3:11
Mark Churchill28-Aug-07 3:11 
AnswerRe: The "using" directives at the top of a .cs Pin
PIEBALDconsult28-Aug-07 6:36
mvePIEBALDconsult28-Aug-07 6:36 
GeneralRe: The "using" directives at the top of a .cs Pin
Scott Dorman28-Aug-07 7:16
professionalScott Dorman28-Aug-07 7:16 
GeneralRe: The "using" directives at the top of a .cs Pin
PIEBALDconsult28-Aug-07 8:31
mvePIEBALDconsult28-Aug-07 8:31 
GeneralRe: The "using" directives at the top of a .cs Pin
Vodstok28-Aug-07 9:01
Vodstok28-Aug-07 9:01 
AnswerRe: The "using" directives at the top of a .cs Pin
PIEBALDconsult28-Aug-07 8:55
mvePIEBALDconsult28-Aug-07 8:55 
QuestionSaving User Settings to a different file Pin
baelzaden28-Aug-07 1:58
baelzaden28-Aug-07 1:58 
AnswerRe: Saving User Settings to a different file Pin
Spacix One28-Aug-07 2:51
Spacix One28-Aug-07 2:51 
AnswerRe: Saving User Settings to a different file Pin
Scott Dorman28-Aug-07 4:22
professionalScott Dorman28-Aug-07 4:22 
QuestionCalling client side control through httpwebrequest Pin
Dipti D Jadhav28-Aug-07 1:47
Dipti D Jadhav28-Aug-07 1:47 
QuestionSender vs From Pin
logicaldna28-Aug-07 1:33
logicaldna28-Aug-07 1:33 
AnswerRe: Sender vs From Pin
Scott Dorman28-Aug-07 4:38
professionalScott Dorman28-Aug-07 4:38 
GeneralRe: Sender vs From Pin
logicaldna28-Aug-07 4:46
logicaldna28-Aug-07 4:46 
GeneralRe: Sender vs From Pin
Scott Dorman28-Aug-07 5:15
professionalScott Dorman28-Aug-07 5:15 
GeneralRe: Sender vs From Pin
logicaldna28-Aug-07 4:56
logicaldna28-Aug-07 4:56 

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.