A propriedade FirstOrDefault da classe System.Collections.ObservableCollection retorna o primeiro elemento na coleção que atende à condição especificada ou o valor padrão para o tipo de elemento se nenhum elemento for encontrado. Essa propriedade é útil quando se deseja obter o primeiro elemento de uma coleção ou obter o valor padrão caso a coleção esteja vazia.
System.Collections ObservableCollection.FirstOrDefault em C# (CSharp) - 20 exemplos encontrados. Esses são os exemplos do mundo real mais bem avaliados de System.Collections.ObservableCollection.FirstOrDefault em C# (CSharp) extraídos de projetos de código aberto. Você pode avaliar os exemplos para nos ajudar a melhorar a qualidade deles.