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
access error 3011
trouble with displaying recordset results in datasheet view
offline SharePoint Workspace with Office Web Apps
Unrecognized database format
only unique values in query
Open report hidden for snapshot
Error when assigning value to textbox in footer during runtime
Code works fine in debug mode, but not at run time
How can I check the size of a SharePoint 2007/Wss 3.0 sub site?
Access to SQL Server linked table problem