I have a collection of string names, few names starts with X100,x200,x121 which has numeric values. I'm using LinQ to loop thro and also using a where clause to filter those names that has integer values like x"100." Which is the best way to do accompolish this?. is it possible to use Func or Action on the items for checking each string variable.My
where clause in expression looks something like this
var columns = from c in factory.GetColumnNames("eventNames")
where c.Substring(1) // I dont know what to do next
select c;
.if the next string is "c.substring(1)" integer obviously the names are wrong.So is there any best way to do this check and return a string collection