Click here to Skip to main content
15,895,084 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to optimize the stream display ? Pin
Pete O'Hanlon13-Aug-12 23:53
mvePete O'Hanlon13-Aug-12 23:53 
GeneralRe: How to optimize the stream display ? Pin
yu-jian14-Aug-12 15:28
yu-jian14-Aug-12 15:28 
GeneralRe: How to optimize the stream display ? Pin
Pete O'Hanlon14-Aug-12 22:46
mvePete O'Hanlon14-Aug-12 22:46 
GeneralRe: How to optimize the stream display ? Pin
yu-jian15-Aug-12 16:16
yu-jian15-Aug-12 16:16 
QuestionConverting database tables using threading Pin
Sridk13-Aug-12 9:39
Sridk13-Aug-12 9:39 
AnswerRe: Converting database tables using threading Pin
Pete O'Hanlon13-Aug-12 10:18
mvePete O'Hanlon13-Aug-12 10:18 
AnswerRe: Converting database tables using threading Pin
Eddy Vluggen13-Aug-12 23:27
professionalEddy Vluggen13-Aug-12 23:27 
AnswerRe: Converting database tables using threading Pin
Shameel14-Aug-12 1:04
professionalShameel14-Aug-12 1:04 
Sridk wrote:
please provide me the c# code

Asking for code is considered rude here and may invite a rain of downvotes. Instead, ask for ideas.

There are many ways to execute multiple tasks in parallel including:
1. Create as many instances of the Thread class and execute them in parallel.
2. Use the ThreadPool class
3. Use BackgroundWorker class
4. Use Task Parallel Library

A word of caution: Using threads may not necessarily improve the performance of your code unless you have multiple processors or your processor has multiple cores. So if you have a single processor with a single core, it will not make any difference in the time taken to complete the task. On the contrary, it may actually slow down your task due to the threading overhead.
QuestionAdding extra parameters to events Pin
paul_b13-Aug-12 9:28
paul_b13-Aug-12 9:28 
AnswerRe: Adding extra parameters to events Pin
Liam Cairns Kelly13-Aug-12 10:02
Liam Cairns Kelly13-Aug-12 10:02 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 10:06
paul_b13-Aug-12 10:06 
GeneralRe: Adding extra parameters to events Pin
Liam Cairns Kelly13-Aug-12 10:19
Liam Cairns Kelly13-Aug-12 10:19 
GeneralRe: Adding extra parameters to events Pin
Pete O'Hanlon13-Aug-12 10:41
mvePete O'Hanlon13-Aug-12 10:41 
AnswerRe: Adding extra parameters to events Pin
SledgeHammer0113-Aug-12 10:08
SledgeHammer0113-Aug-12 10:08 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 10:16
paul_b13-Aug-12 10:16 
GeneralRe: Adding extra parameters to events Pin
SledgeHammer0113-Aug-12 10:28
SledgeHammer0113-Aug-12 10:28 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 10:38
paul_b13-Aug-12 10:38 
AnswerRe: Adding extra parameters to events Pin
Shameel13-Aug-12 22:24
professionalShameel13-Aug-12 22:24 
GeneralRe: Adding extra parameters to events Pin
Ed Hill _5_13-Aug-12 23:40
Ed Hill _5_13-Aug-12 23:40 
GeneralRe: Adding extra parameters to events Pin
paul_b13-Aug-12 23:43
paul_b13-Aug-12 23:43 
GeneralRe: Adding extra parameters to events Pin
Shameel13-Aug-12 23:57
professionalShameel13-Aug-12 23:57 
AnswerRe: Adding extra parameters to events Pin
BillWoodruff13-Aug-12 23:39
professionalBillWoodruff13-Aug-12 23:39 
GeneralRe: Adding extra parameters to events Pin
Pete O'Hanlon13-Aug-12 23:42
mvePete O'Hanlon13-Aug-12 23:42 
GeneralRe: Adding extra parameters to events Pin
SledgeHammer0114-Aug-12 7:21
SledgeHammer0114-Aug-12 7:21 
QuestionSend a double to array Pin
sina rahimzadeh13-Aug-12 8:17
sina rahimzadeh13-Aug-12 8:17 

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.