Quote Originally Posted by thef1chesser View Post
thnx it now works

since it was an ugly way I like to do those as short as possible.

Code:
if (!culture.CultureTypes.ToString().Contains("NeutralCultures"))
Instead of converting the enum field to a string and then parsing the string, just check if the NeutralCultures flag is present using a bitwise & operator.

Code:
if ( (culture.CultureTypes & CultureTypes.NeutralCultures ) != CultureTypes.NeutralCultures )
{
    ...
}
In general, avoid doing operations that convert items into strings whenever possible.