S
Shay_w
Guest
Hi
What the right syntax for convert.tochar ?
if i write
foreach (char letter in str.ToCharArray())
{
switch (letter)
{
case Convert.ToChar("a"):
sum += 1;
the code line case Convert.ToChar("a"): get an error
Thanks
Continue reading...
What the right syntax for convert.tochar ?
if i write
foreach (char letter in str.ToCharArray())
{
switch (letter)
{
case Convert.ToChar("a"):
sum += 1;
the code line case Convert.ToChar("a"): get an error
Thanks
Continue reading...