Snippets has posted 5883 posts at DZone. View Full User Profile
Snippet for finding some content in file using LINQ in c#.net
bool IsExists = (from fileLine in File.ReadAllLines("MyFile.txt")
where fileLine == "Matching line"
select fileLine ).Count() > 0;
Discover best practices and the most useful tools for building the ideal integration architecture.
DZone's 170th Refcard is an essential reference to Camel, an open-source, lightweight, integration library. This Refcard is authored by...