Linq Queries for .Net Framework members

How many members in the .Net framework contain the string ‘file” ?   Make a query like this:             Dim q As Object         q = From Assembly In AppDomain.CurrentDomain.GetAssemblies _                 From typ In Assembly.GetTypes _                 From Member In typ.GetMembers _                 Where Member.Name.ToLower.Contains(“file”) _                 Select Assembly, typ, Member.MemberType, Member.Name,…

3

C# and Fox versions of Cool Linq Query

    In my prior post (Cool Linq Query) I promised a C# and Fox versions of a query to sort all the “Words” found in many files in a C++ project and sort them by frequency of occurrence.     The C# version: it’s almost the same as the VB version. Try typing it…

6

Cool Linq Query

Now that Visual Studio 2008 Beta 2 is out the door, I can write about some cool Linq Queries, and you can run them.   Foxpro has had Language Integrated Query (Linq) in the form of embedded SQL statements (Create Table/Select/Update/Insert/Delete/Alter Table) for almost 2 decades (I believe it was Fox 2.0 around 1989?)  …

8