Exemple #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;
     }
 }
Exemple #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]);
     }
 }
Exemple #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;
     }
 }