How to use LINQ with IniLibrary

// Query
var q = from p in myDocument.Sections["First"]
        where p.Name.StartsWith("Prop")
        select p.Name;

// Show results
foreach (string s in q)
    Console.WriteLine(s);

Last edited Mar 7, 2009 at 12:16 PM by BlueCode, version 1

Comments

No comments yet.