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
Trying to pass a SQL parameter to crystal reports in a command statement
Silverlight Accessing Static Resource
Dell Latitude Z600 and Dual Monitors
How do I get rid of double contacts in Outlook?
Sharepoint Server Error in '/' Application
On logon an explorer window opens to 'Netlogon' from the DC
How to delete a record from a form page.
Add a zero in my query since it is part of a union
Error: Scaling of decimal value resulted in data truncation
How to use two values in a VB.NET ComboBox