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
NoActiveDesktop under LOCAL_MACHINE gets reset to value of 1 after reboot. If NoActiveDesktop key under LOCAL_MACHINE is deleted, it is recreated and assigned a value of 1.
How to write a query in Ms-Access 2007 to compare two fields in two tables?
Customizing MS Word 2007 RibbonX - ComboBox OnChange doesn't fire
Front page 2003 removal ?
windows xp recovery console Boot.ini /safeboot flag issues
How should I format a Time value to insert it into a Visual FoxPro table from VBS
Paid Time Off Accrual Formula
USB Flash error "Not Accessible. Incorrect Function."
How to share session between two web sites hosted on two different web server without web farm
Realtime - What Events?