Click here to Skip to main content
15,905,419 members
Home / Discussions / C#
   

C#

 
AnswerRe: Prevent DataGridView to move to next row after edit? Pin
Muammar©18-Aug-07 9:46
Muammar©18-Aug-07 9:46 
GeneralRe: Prevent DataGridView to move to next row after edit? Pin
Dragan Matic19-Aug-07 0:31
Dragan Matic19-Aug-07 0:31 
Question'using' vs fully qualified types Pin
Malcolm Smart18-Aug-07 0:22
Malcolm Smart18-Aug-07 0:22 
AnswerRe: 'using' vs fully qualified types Pin
Christian Graus18-Aug-07 0:52
protectorChristian Graus18-Aug-07 0:52 
GeneralRe: 'using' vs fully qualified types Pin
Malcolm Smart18-Aug-07 0:54
Malcolm Smart18-Aug-07 0:54 
GeneralRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 10:22
mvePIEBALDconsult18-Aug-07 10:22 
GeneralRe: 'using' vs fully qualified types Pin
Christian Graus18-Aug-07 11:25
protectorChristian Graus18-Aug-07 11:25 
GeneralRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 11:35
mvePIEBALDconsult18-Aug-07 11:35 
GeneralRe: 'using' vs fully qualified types Pin
Colin Angus Mackay18-Aug-07 13:26
Colin Angus Mackay18-Aug-07 13:26 
GeneralRe: 'using' vs fully qualified types Pin
Colin Angus Mackay18-Aug-07 13:29
Colin Angus Mackay18-Aug-07 13:29 
GeneralRe: 'using' vs fully qualified types Pin
Mark Churchill18-Aug-07 16:05
Mark Churchill18-Aug-07 16:05 
AnswerRe: 'using' vs fully qualified types Pin
Keith Barrow18-Aug-07 3:12
professionalKeith Barrow18-Aug-07 3:12 
GeneralRe: 'using' vs fully qualified types Pin
Malcolm Smart18-Aug-07 1:12
Malcolm Smart18-Aug-07 1:12 
GeneralRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 10:39
mvePIEBALDconsult18-Aug-07 10:39 
GeneralRe: 'using' vs fully qualified types Pin
Colin Angus Mackay18-Aug-07 13:36
Colin Angus Mackay18-Aug-07 13:36 
GeneralRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 18:40
mvePIEBALDconsult18-Aug-07 18:40 
GeneralRe: 'using' vs fully qualified types Pin
Colin Angus Mackay19-Aug-07 0:06
Colin Angus Mackay19-Aug-07 0:06 
AnswerRe: 'using' vs fully qualified types Pin
Paul Conrad18-Aug-07 3:29
professionalPaul Conrad18-Aug-07 3:29 
AnswerRe: 'using' vs fully qualified types Pin
Guffa18-Aug-07 6:24
Guffa18-Aug-07 6:24 
AnswerRe: 'using' vs fully qualified types Pin
Luc Pattyn18-Aug-07 7:43
sitebuilderLuc Pattyn18-Aug-07 7:43 
GeneralRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 12:28
mvePIEBALDconsult18-Aug-07 12:28 
GeneralRe: 'using' vs fully qualified types Pin
Luc Pattyn18-Aug-07 12:53
sitebuilderLuc Pattyn18-Aug-07 12:53 
Hi,

I was under the impression things would not work at all without "using System;"
i.e. I thought the compiler would then be unable to map "int" to "System.Int32"
but clearly it can and does, without any "using System;"
Thanks for bringing that to my attention.

I have the habbit of removing usings I don't need, such as
System.Collections.Generic when I don't need any generic stuff.

but I use using statements all the time, and I tend to add a comment mentioning
the first Class that caused me to include the using statement.

For me the shorter form is the better one, for it improves readability.

But I can imagine situations where lots of namespaces would be required,
and then things could become hard to understand without full qualification.

The only such situation I encountered so far is about timers, having at least three
different classes called Timer in the Framework.


Greetings


Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 18:49
mvePIEBALDconsult18-Aug-07 18:49 
AnswerRe: 'using' vs fully qualified types Pin
PIEBALDconsult18-Aug-07 9:52
mvePIEBALDconsult18-Aug-07 9:52 
GeneralRe: 'using' vs fully qualified types Pin
Colin Angus Mackay18-Aug-07 13:32
Colin Angus Mackay18-Aug-07 13:32 

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.