linq find object from id

Code Example - linq find object from id

                
                        MyObject myObject = collectionMyObject.FirstOrDefault(o => o.Items != null && o.Items.Any(io => io.Id == 2));