I have a BackgroundWorkerCollection, which is a list of a specific class. When I try to loop over the list and filter and select one, I get the error indicated.
//The code
Dim bw = From BackgroundWorkerLinq In BackgroundWorkerCollection Where BackgroundWorkerLinq.Id = sItemNo Select BackgroundWorkerLinq.Backgroundworker
Is it possible to convert bw to Backgroundworker , the class created in the application has two properties Id ( int ) and Backgroundworker ( Backgroundworker ). So I need to convert back to the same, to check if he is busy or not.
Where am I mistaken and how to achieve this?
iamCR source share