public IncompatibleObject IncompatibleMethod(IncompatibleObject @object)
 {
     return(new IncompatibleObject
     {
         Year = @object.Year % 100 + 1,
         Month = @object.Month * 17 % 12 + 1,
         Day = @object.Day * 51 % 28 + 1
     });
 }
Exemple #2
0
 public IncompatibleObject IncompatibleMethod(IncompatibleObject @object)
 {
     return new IncompatibleObject
     {
         Year = @object.Year%100 + 1,
         Month = @object.Month*17%12 + 1,
         Day = @object.Day*51%28 + 1
     };
 }