This is my c# code and i am getting this error: The name 'viesti_s' does not exist in the current context
here's the code:
string viesti_i = Console.ReadLine();
Console.WriteLine("give number ");
int avain = int.Parse(Console.ReadLine());
for (int i = 0; i < viesti_i.Length; i += avain)
{
string viesti_s = viesti_i.Insert(avain, "b");
}
Console.WriteLine(viesti_s);
Console.ReadKey();