public override string this[int index] { set { MyStaticClass.Append(@"E:\csharp\my_c_sharp_file.txt", MyStaticClass.LaunchTime + ":writer sub"); array[index - 1] = value; } }
public override string this[int index] { get { MyStaticClass.Append(@"E:\csharp\my_c_sharp_file.txt", MyStaticClass.LaunchTime + ":reader sub sub"); return(array[index - 1]); } }
public virtual string this[int index] { get{ MyStaticClass.Append(@"E:\csharp\my_c_sharp_file.txt", MyStaticClass.LaunchTime + ":reader"); return(array[index - 1]); } set { MyStaticClass.Append(@"E:\csharp\my_c_sharp_file.txt", MyStaticClass.LaunchTime + ":writer base"); array[index - 1] = value; } }