哈哈,难道要!
public class TStrings
{
protected string[] myWords=null;
public int Count=0;
private void inc()
{
Count+=1;
}
private void dec()
{
Count-=1;
}
public void Append(string value)
{
myWords[Count]=value;
inc();
}
public void Insert(string value)
{
dec();
}
public void Delete(int index)
{
}
public void Clear()
{
}
public string strings(int index)
{
return myWords[index];
}
}