Culture.FindBestMatch method (1 of 3)

Finds the best match for this culture among a collection of cultures.

public Culture FindBestMatch(IEnumerable<Culture> cultures)
parameter description
cultures The cultures to match.

Return Value

The best culture in the collection.

See Also


Culture.FindBestMatch method (2 of 3)

Finds the best match for this culture among a collection of language names.

public LanguageName FindBestMatch(IEnumerable<LanguageName> cultures)
parameter description
cultures The language names to match.

Return Value

The best language name in the collection.

See Also


Culture.FindBestMatch<T> method (3 of 3)

Finds the best match for this culture among a collection of cultures.

public T FindBestMatch<T>(IEnumerable<T> cultures, Func<T, LanguageName> converter)
parameter description
cultures The cultures to match.
converter The converter.

Return Value

The best culture in the collection.

See Also