TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Peter Derwa
NA
5
0
Compiling assembly with CodeDomProvider --> FindAll Method with predicate
Jul 3 2009 5:44 AM
Hi, I'm trying to compile a dynamic assembly from code with the CodeDomProvider which contains a FindAll method on a list with Predicates. example: using System; using System.Linq; using System.Collections; using System.Collections.Generic; using ET.Common; using ET.Deap.Common; using ET.Deap.Common.Model; public static class SearchAssembly { public static IList RunFilter(IList list) { return list.Cast
().ToList().FindAll(x => (x.Id == 30) && (x.TestDataItems.ToList().Exists(y => y.Status == Status.CheckedTrue))); } } this will always give me a compiler error "CS1525" "Invalid expression term '>'" why isnt it able to recognize my predicate? what would be the easiest solution?
Reply
Answers (
0
)
drag and drop of gridview columns
Changing functions name in aloop