Click here to Skip to main content
15,887,979 members
Home / Discussions / C#
   

C#

 
AnswerRe: Audio programming - play section of WAV file Pin
Dusara Maulik31-Aug-13 23:27
Dusara Maulik31-Aug-13 23:27 
QuestionCan we use memorycache in webservice running on different machine and client on other machine?(c#) Pin
santosh code30-Aug-13 19:30
santosh code30-Aug-13 19:30 
AnswerRe: Can we use memorycache in webservice running on different machine and client on other machine?(c#) Pin
Pete O'Hanlon30-Aug-13 22:04
mvePete O'Hanlon30-Aug-13 22:04 
GeneralRe: Can we use memorycache in webservice running on different machine and client on other machine?(c#) Pin
santosh code31-Aug-13 0:34
santosh code31-Aug-13 0:34 
Question[Solved] Run application until Tasks are finished? Pin
Dralken30-Aug-13 13:54
Dralken30-Aug-13 13:54 
AnswerRe: Run application until Tasks are finished? Pin
Dave Kreskowiak30-Aug-13 14:57
mveDave Kreskowiak30-Aug-13 14:57 
GeneralRe: Run application until Tasks are finished? Pin
Dralken30-Aug-13 15:16
Dralken30-Aug-13 15:16 
GeneralRe: Run application until Tasks are finished? Pin
Dave Kreskowiak30-Aug-13 15:28
mveDave Kreskowiak30-Aug-13 15:28 
Vouksh wrote:
Problem with Task.WaitAll() is that it expects a fixed array (Task[]) of tasks,
whereas the array could be anything from a single task to a dozen of them, and
it's not known at run time.


Bullshit. Create a List<task> and add your Tasks to it. When you're done, call .ToArray() on the List and use you use that in Task.WaitAll.

Task.WaitAll can go into your code that creates your tasks. Since it's a blocking call, control will NOT return back to Main to end the application before the tasks are complete.

GeneralRe: Run application until Tasks are finished? Pin
Dralken31-Aug-13 1:26
Dralken31-Aug-13 1:26 
GeneralRe: Run application until Tasks are finished? Pin
BillWoodruff1-Sep-13 19:51
professionalBillWoodruff1-Sep-13 19:51 
GeneralRe: Run application until Tasks are finished? Pin
Dralken1-Sep-13 20:40
Dralken1-Sep-13 20:40 
SuggestionRe: Run application until Tasks are finished? Pin
Keith L Robertson3-Sep-13 5:27
Keith L Robertson3-Sep-13 5:27 
QuestionHow to solve this error "safe handle has been closed"? Pin
vikash kumar NIIT29-Aug-13 23:16
vikash kumar NIIT29-Aug-13 23:16 
SuggestionRe: How to solve this error "safe handle has been closed"? Pin
Richard Deeming30-Aug-13 1:38
mveRichard Deeming30-Aug-13 1:38 
GeneralRe: How to solve this error "safe handle has been closed"? Pin
vikash kumar NIIT30-Aug-13 1:50
vikash kumar NIIT30-Aug-13 1:50 
GeneralRe: How to solve this error "safe handle has been closed"? Pin
davidstein30-Aug-13 3:06
davidstein30-Aug-13 3:06 
GeneralRe: How to solve this error "safe handle has been closed"? Pin
Richard Deeming30-Aug-13 3:21
mveRichard Deeming30-Aug-13 3:21 
Questionhow to get balance by USSD commands? Pin
davidstein29-Aug-13 22:58
davidstein29-Aug-13 22:58 
SuggestionRe: how to get balance by USSD commands? Pin
Richard MacCutchan30-Aug-13 0:03
mveRichard MacCutchan30-Aug-13 0:03 
GeneralRe: how to get balance by USSD commands? Pin
davidstein30-Aug-13 1:04
davidstein30-Aug-13 1:04 
GeneralRe: how to get balance by USSD commands? PinPopular
Dave Kreskowiak30-Aug-13 2:42
mveDave Kreskowiak30-Aug-13 2:42 
GeneralRe: how to get balance by USSD commands? Pin
davidstein30-Aug-13 3:05
davidstein30-Aug-13 3:05 
GeneralRe: how to get balance by USSD commands? Pin
Richard MacCutchan30-Aug-13 3:27
mveRichard MacCutchan30-Aug-13 3:27 
GeneralRe: how to get balance by USSD commands? Pin
Dave Kreskowiak30-Aug-13 3:59
mveDave Kreskowiak30-Aug-13 3:59 
GeneralRe: how to get balance by USSD commands? Pin
davidstein30-Aug-13 8:27
davidstein30-Aug-13 8:27 

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.