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

C#

 
AnswerRe: Can not find entry point to function - Make sure you have exported the dll Pin
Wes Aday30-Apr-08 4:18
professionalWes Aday30-Apr-08 4:18 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 4:42
N a v a n e e t h30-Apr-08 4:42 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Spacix One30-Apr-08 4:53
Spacix One30-Apr-08 4:53 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 17:34
N a v a n e e t h30-Apr-08 17:34 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Spacix One1-May-08 8:25
Spacix One1-May-08 8:25 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
Wes Aday30-Apr-08 5:05
professionalWes Aday30-Apr-08 5:05 
AnswerRe: Can not find entry point to function - Make sure you have exported the dll Pin
Rob Graham30-Apr-08 12:04
Rob Graham30-Apr-08 12:04 
GeneralRe: Can not find entry point to function - Make sure you have exported the dll Pin
N a v a n e e t h30-Apr-08 16:42
N a v a n e e t h30-Apr-08 16:42 
QuestionHow can copy cut and delete files through coding Pin
Naveed72730-Apr-08 2:33
Naveed72730-Apr-08 2:33 
AnswerRe: How can copy cut and delete files through coding Pin
Colin Angus Mackay30-Apr-08 2:46
Colin Angus Mackay30-Apr-08 2:46 
GeneralRe: How can copy cut and delete files through coding Pin
Naveed72730-Apr-08 2:55
Naveed72730-Apr-08 2:55 
AnswerRe: How can copy cut and delete files through coding Pin
Luc Pattyn30-Apr-08 2:57
sitebuilderLuc Pattyn30-Apr-08 2:57 
AnswerRe: How can copy cut and delete files through coding Pin
Simon P Stevens30-Apr-08 3:01
Simon P Stevens30-Apr-08 3:01 
GeneralRe: How can copy cut and delete files through coding Pin
Spacix One30-Apr-08 4:51
Spacix One30-Apr-08 4:51 
QuestionHow can I found out which dlls my (managed/unmanaged) dll depends on ... programmatically ! Pin
Berlus30-Apr-08 2:21
Berlus30-Apr-08 2:21 
AnswerRe: How can I found out which dlls my (managed/unmanaged) dll depends on ... programmatically ! Pin
Ravi Bhavnani30-Apr-08 2:39
professionalRavi Bhavnani30-Apr-08 2:39 
GeneralRe: How can I found out which dlls my (managed/unmanaged) dll depends on ... programmatically ! Pin
PIEBALDconsult30-Apr-08 5:33
mvePIEBALDconsult30-Apr-08 5:33 
GeneralRe: How can I found out which dlls my (managed/unmanaged) dll depends on ... programmatically ! Pin
Ravi Bhavnani30-Apr-08 5:35
professionalRavi Bhavnani30-Apr-08 5:35 
GeneralRe: How can I found out which dlls my (managed/unmanaged) dll depends on ... programmatically ! Pin
PIEBALDconsult30-Apr-08 6:29
mvePIEBALDconsult30-Apr-08 6:29 
GeneralRe: How can I found out which dlls my (managed/unmanaged) dll depends on ... programmatically ! Pin
Ravi Bhavnani30-Apr-08 6:34
professionalRavi Bhavnani30-Apr-08 6:34 
GeneralRe: How can I found out which dlls my (managed/unmanaged) dll depends on ... programmatically ! Pin
PIEBALDconsult30-Apr-08 6:42
mvePIEBALDconsult30-Apr-08 6:42 
QuestionHow to call .NET 2.0 dll from .NET 1.1 ? Pin
ivix4u30-Apr-08 0:06
ivix4u30-Apr-08 0:06 
AnswerRe: How to call .NET 2.0 dll from .NET 1.1 ? Pin
Simon P Stevens30-Apr-08 1:50
Simon P Stevens30-Apr-08 1:50 
Questionforeach and IEnumerator Pin
George_George29-Apr-08 23:58
George_George29-Apr-08 23:58 
AnswerRe: foreach and IEnumerator Pin
Simon P Stevens30-Apr-08 0:41
Simon P Stevens30-Apr-08 0:41 
Foreach basically just calls GetEnumerator() on your collection, and then repeatedly calls MoveNext() on the enumerator to move through the collection.

No real difference. If your interested in performance, try it and time it, I suspect it makes nears as no difference.

Only con I can think of is that you can't modify a collection (add/remove) while you are foreaching through it, but you could if you just looped with an index (Although I wouldn't recommend it, you'd most likely screw something up, and miscount with your index or something)

Personally, I use for each most of the time. I can't think of the last time I used a normal for loop to go through a collection.

Simon

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.