Example #1
0
 public static double GetDouble(this Outer.ErrorCode code)
 {
     return((double)(int)code);
 }
Example #2
0
 public static void Main()
 {
     Outer.ErrorCode code = Outer.ErrorCode.Error1;
     Console.WriteLine(code.GetDouble());
 }