OperatorTest.cs 388 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Azylee.Core.X
  6. {
  7. public class OperatorTest
  8. {
  9. public static implicit operator string(OperatorTest dog)
  10. {
  11. return "";
  12. }
  13. public static OperatorTest operator +(OperatorTest a, OperatorTest b)
  14. {
  15. return a;
  16. }
  17. }
  18. }