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
Need Working Driver for SigmaTel IDT High Definition Audio, on a gateway p-6860fx on Win. Xp Professional X64
How do I build a query with date ranges surrounding the current date?
Set up windows scheduled task run from vba
Change a user-entered number on a form to negative
How to save, edit, and read data (in code behind) from an unbound Gridview in ASP.NET
SUMPRODUCT fn with nested IF statements
XBOX 360 - Salvageable Parts?
Cannot send from exchange 2007
Microsoft Access error
Calculate a balloon payment