[Solved] How to transfer char to string in c# [closed]


Do that like this:

string formula = "6+12*2";
foreach (char chr in formula)
{
    Console.WriteLine(chr);
}

3

solved How to transfer char to string in c# [closed]