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
Installing assemblies in the GAC using drag and drop
Need Driver for CDROM
stored procedure error: Conversion failed when converting the nvarchar value
issue with Global Catalog
Outlook 2007 keeps asking for credentials for remote connection to server
Data duplicates, triplicates....
Form strategy
The type or namespace name 'Linq' does not exist in the namespace 'System' ?
MSExchange RPC Over HTTP Autoconfig
type mismatch error when creating an Outlook mail item from Access VBA