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
Cell with date shows as numeric ..
routine backup practices for access 2003
order by in union works in sql 2005 but not in sql 2000
Win7 unable to remotely manage Win2k8 Full Server
Where is Exchange 2003 smtp most raw log?
Cfouput distinct items for a field
Allow other user than SA to change passwords and access to companies
Trying to filter a Sharepoint List
Convert datetime to character string
Access - Format datatype in Table to have IP Address format