w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Receiving error CS0030: Cannot convert type 'char' to 'string' when I try to run this dropdown list

Your problem is that combinedCultures is defined as a string, but then you're trying to iterate over it with a type string in the foreach. When you iterate over a string you get chars. You should be able to just get rid of the combinedCultures variable altogether and foreach using allCultures.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.