Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private static string GetCulture(IReadOnlyList<string> cultureDefinition)
{
return cultureDefinition[0] == SupportedCulture.English
? SupportedCulture.English
: cultureDefinition[0] == SupportedCulture.Arabic
? SupportedCulture.Arabic
: SupportedCulture.Spanish;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment