Tamer_Ahmed
Well-known member
hey i have problem with indexer with C# tell me whats the wrong with my code
public class Class1
{
public Class1()
{
}
private string[] st;
public string this[int xx]
{
get
{
return st[xx];
}
set
{
st[xx] = value ;
}
}
}
public class Class1
{
public Class1()
{
}
private string[] st;
public string this[int xx]
{
get
{
return st[xx];
}
set
{
st[xx] = value ;
}
}
}