Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
AnswerRe: convert part of a list to an array Pin
taha bahraminezhad Jooneghani3-Jun-12 8:05
taha bahraminezhad Jooneghani3-Jun-12 8:05 
AnswerRe: convert part of a list to an array PinPopular
Luc Pattyn3-Jun-12 8:58
sitebuilderLuc Pattyn3-Jun-12 8:58 
GeneralRe: convert part of a list to an array Pin
Dave Kreskowiak3-Jun-12 9:15
mveDave Kreskowiak3-Jun-12 9:15 
GeneralRe: convert part of a list to an array Pin
Luc Pattyn3-Jun-12 9:26
sitebuilderLuc Pattyn3-Jun-12 9:26 
GeneralRe: convert part of a list to an array Pin
DaveyM694-Jun-12 8:18
professionalDaveyM694-Jun-12 8:18 
GeneralRe: convert part of a list to an array Pin
VJ Reddy3-Jun-12 13:51
VJ Reddy3-Jun-12 13:51 
GeneralRe: convert part of a list to an array PinPopular
Luc Pattyn3-Jun-12 14:28
sitebuilderLuc Pattyn3-Jun-12 14:28 
AnswerRe: convert part of a list to an array Pin
Apocalypse Now3-Jun-12 14:09
Apocalypse Now3-Jun-12 14:09 
GeneralRe: convert part of a list to an array Pin
Luc Pattyn3-Jun-12 14:30
sitebuilderLuc Pattyn3-Jun-12 14:30 
GeneralRe: convert part of a list to an array Pin
Apocalypse Now4-Jun-12 14:33
Apocalypse Now4-Jun-12 14:33 
QuestionSign Language Recognition Pin
RimaTeliani3-Jun-12 0:00
RimaTeliani3-Jun-12 0:00 
AnswerRe: Sign Language Recognition Pin
OriginalGriff3-Jun-12 0:29
mveOriginalGriff3-Jun-12 0:29 
GeneralRe: Sign Language Recognition Pin
RimaTeliani3-Jun-12 2:09
RimaTeliani3-Jun-12 2:09 
AnswerRe: Sign Language Recognition Pin
Richard MacCutchan3-Jun-12 0:53
mveRichard MacCutchan3-Jun-12 0:53 
GeneralRe: Sign Language Recognition Pin
RimaTeliani3-Jun-12 2:17
RimaTeliani3-Jun-12 2:17 
AnswerRe: Sign Language Recognition Pin
Eddy Vluggen3-Jun-12 2:55
professionalEddy Vluggen3-Jun-12 2:55 
GeneralRe: Sign Language Recognition Pin
RimaTeliani3-Jun-12 3:06
RimaTeliani3-Jun-12 3:06 
GeneralRe: Sign Language Recognition Pin
Eddy Vluggen3-Jun-12 4:38
professionalEddy Vluggen3-Jun-12 4:38 
GeneralRe: Sign Language Recognition Pin
RimaTeliani3-Jun-12 21:14
RimaTeliani3-Jun-12 21:14 
QuestionHow to sleep the thread in this example? Pin
daCrazyDude2-Jun-12 17:22
daCrazyDude2-Jun-12 17:22 
AnswerRe: How to sleep the thread in this example? Pin
Luc Pattyn3-Jun-12 4:57
sitebuilderLuc Pattyn3-Jun-12 4:57 
1. you can pause a thread using Thread.Sleep
2. you should not perform blocking operations (such as Thread.Sleep) on the main thread
3. most often a timer is the right way for controlling progress
4. use the timer that fits your needs, there are several types. For simple periodic jobs in a WinForms environment, most often a System.Windows.Forms.Timer is the right one as it ticks on the main thread.
5. always prefer an event-driven approach over a polling approach
6. if you must poll, and a timer-based approach doesn't fit, consider using a BackgroundWorker instead (probably with Thread.Sleep now)
7. for file creation/deletion, the FileSystemWatcher class provides some useful events; warning: they signal the start of an action, not the termination of an action.
8. when "things get complicated while adding features", you probably failed to properly apply an object-oriented approach
9. it isn't adding features that causes complexity, it is brain twisting the wrong way.
Luc Pattyn [My Articles] Nil Volentibus Arduum

AnswerRe: How to sleep the thread in this example? Pin
daCrazyDude6-Jun-12 15:48
daCrazyDude6-Jun-12 15:48 
Questioncombine edits Pin
dcof2-Jun-12 16:27
dcof2-Jun-12 16:27 
AnswerRe: combine edits Pin
OriginalGriff3-Jun-12 0:27
mveOriginalGriff3-Jun-12 0:27 
GeneralRe: combine edits Pin
dcof3-Jun-12 18:04
dcof3-Jun-12 18:04 

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.