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
Check if cursor is empty
Receiving error when submitting data to SQL Server through asp.net vb
Silverlight Runtime not loading XAP from Integrated Authentication
Cannot Create or Extend Web Application in Central Administrator. Receive Error: Access Denied
vb.net - panel title
SCCM Remote Tools: Now it works... now it doesn't
Read/Write textbox of another application
Handling Access Null value message when running against Oracle table
The COM+ Event System detected a bad return code during its internal processing
Blank document opens when opening another word document.