abdur rehman

abdur rehman

  • NA
  • 4
  • 954

C# error please rectify

Aug 13 2014 6:59 AM
s = txt.Text.ToUpper();
n=s.Length;
for (int i = 0; i <n; i++)
{
s = s[i].ToString();
lbl.Text = s;
Response.Write(lbl.Text);
Response.Write("\n");
txt.text="answer"(I am giving)
 
i am getting index was outside the bounds of the array 

Answers (1)