How do I rewrite my lambda expression

T

Tony Johansson

Hello!

I have this simple Lambda expression and I just wonder if its possible
to modify the first row in such a way that I get string subfile as output so
I can skip row number 2.
There will always be only one match from this p.ID == workSheetID

var temp1 = ccrFormObj.myWorksheetList.Where(p => p.ID == workSheetID);
string subfile1 = temp1.ToArray()[0].ToString();

//Tony
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top