Click here to Skip to main content
15,902,114 members
Home / Discussions / C#
   

C#

 
AnswerRe: Working with MP3 Files Pin
Wayne Gaylard11-Nov-11 0:04
professionalWayne Gaylard11-Nov-11 0:04 
GeneralRe: Working with MP3 Files Pin
adigi11-Nov-11 0:55
adigi11-Nov-11 0:55 
AnswerRe: Working with MP3 Files Pin
Ravi Bhavnani11-Nov-11 10:16
professionalRavi Bhavnani11-Nov-11 10:16 
AnswerRe: Working with MP3 Files Pin
BillWoodruff11-Nov-11 15:58
professionalBillWoodruff11-Nov-11 15:58 
QuestionCannot using generic type in extension method Pin
Tran Hai Quan10-Nov-11 22:05
Tran Hai Quan10-Nov-11 22:05 
AnswerRe: Cannot using generic type in extension method PinPopular
Wayne Gaylard10-Nov-11 22:41
professionalWayne Gaylard10-Nov-11 22:41 
GeneralRe: Cannot using generic type in extension method Pin
Tran Hai Quan10-Nov-11 22:47
Tran Hai Quan10-Nov-11 22:47 
AnswerRe: Cannot using generic type in extension method Pin
BillWoodruff11-Nov-11 5:49
professionalBillWoodruff11-Nov-11 5:49 
I thought this could be much simpler: in the extension:
return new ObservableCollection<T>(source);
No 'foreach' needed.

Full disclosure: my first several attempts at doing this using variations of 'Select' and 'Cast' led to stack-overflow errors: so I went a-hunting and found this on StackOverFlow[^].

So, vote the SO answerer up, not this 'gofer' Smile | :)

best, Bill
"I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone." Bjarne Stroustrop circa 1990

Questionwant code to be executed automatic on server every 5 minutes Pin
md_refay10-Nov-11 21:02
md_refay10-Nov-11 21:02 
AnswerRe: want code to be executed automatic on server every 5 minutes Pin
OriginalGriff10-Nov-11 21:49
mveOriginalGriff10-Nov-11 21:49 
AnswerRe: want code to be executed automatic on server every 5 minutes Pin
Anuj Banka10-Nov-11 21:53
Anuj Banka10-Nov-11 21:53 
Questioncombobox can't display -1? Pin
David_ADEI10-Nov-11 13:52
David_ADEI10-Nov-11 13:52 
AnswerRe: combobox can't display -1? Pin
SledgeHammer0110-Nov-11 14:21
SledgeHammer0110-Nov-11 14:21 
JokeRe: combobox can't display -1? Pin
Peter_in_278010-Nov-11 16:17
professionalPeter_in_278010-Nov-11 16:17 
GeneralRe: combobox can't display -1? Pin
David_ADEI10-Nov-11 16:54
David_ADEI10-Nov-11 16:54 
GeneralRe: combobox can't display -1? Pin
Peter_in_278010-Nov-11 17:21
professionalPeter_in_278010-Nov-11 17:21 
GeneralRe: combobox can't display -1? Pin
SledgeHammer0111-Nov-11 7:07
SledgeHammer0111-Nov-11 7:07 
GeneralRe: combobox can't display -1? Pin
David_ADEI13-Nov-11 14:42
David_ADEI13-Nov-11 14:42 
GeneralRe: combobox can't display -1? Pin
BillWoodruff11-Nov-11 5:51
professionalBillWoodruff11-Nov-11 5:51 
AnswerRe: combobox can't display -1? Pin
OriginalGriff10-Nov-11 21:46
mveOriginalGriff10-Nov-11 21:46 
QuestionLaunch command as administrator Pin
jeremycafe111110-Nov-11 10:23
jeremycafe111110-Nov-11 10:23 
AnswerRe: Launch command as administrator Pin
Eddy Vluggen10-Nov-11 10:29
professionalEddy Vluggen10-Nov-11 10:29 
AnswerRe: Launch command as administrator Pin
deanjott11-Nov-11 5:53
deanjott11-Nov-11 5:53 
QuestionRe: Launch command as administrator Pin
Mark Salsbery11-Nov-11 8:00
Mark Salsbery11-Nov-11 8:00 
QuestionLooking for help with an api hook that catches a messagebox from a 3rd party dll Pin
turbosupramk310-Nov-11 7:46
turbosupramk310-Nov-11 7:46 

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.