Microsoft
Software
Hardware
Network
Question : use linq to get an observable collection into an array
Is it possible to use linq to get an observable collection into an array?
I have an observable collection of integer, and I want to move all of them into an array of integers.
Answer : use linq to get an observable collection into an array
Hi dchau12;
Using Linq to convert an observable collection of integers to an array of integers can be done as follows.
// Assuming that the variable oc is the ObservableCollection
int[] intArray = oc.ToArray();
Fernando
Random Solutions
Attaching printer to S30 Thin Client
OWA blank message body on replies to emails
How to capture application server ip address?
Return a "line count" on a sql statement
Jet Reports Error in Navision
ASP.NET XCOPY, VS.Net
Free up drive space for my server's OS
Outlook '07 Archive Sent folder doesn't show the TO: field.
Display RSS Feed in Access Database
Database restore (MS-SQL 2005) Does DB need to be off-line for a restore