Home

C# Statement shows no results but results contain 3 values; why?

Hello -

I am new to LINQPad and just purchased my upgraded license. I went to run the following statement and it returns no results.

EPDMReferenceToolLicenseManagements.Where(epdmrtlm => epdmrtlm.DataField_Company == "Trident");

I know there is data in there that equals that value so I updated the code to be:

var res = EPDMReferenceToolLicenseManagements.Where(epdmrtlm => epdmrtlm.DataField_Company == "Trident"); Console.Write(res.Count());

The result is a value of 3, which is correct. Why does the data not show after the first statement? What am I missing?

Comments

Sign In or Register to comment.