示例#1
0
 public override string this[int index]
 {
     set {
         MyStaticClass.Append(@"E:\csharp\my_c_sharp_file.txt", MyStaticClass.LaunchTime + ":writer sub");
         array[index - 1] = value;
     }
 }
示例#2
0
 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]);
     }
 }
示例#3
0
 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;
     }
 }