fork(1) download
  1. using System;
  2. using System.Globalization;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. Console.WriteLine(Int32.Parse("2,6E3",
  9. NumberStyles.AllowExponent | NumberStyles.AllowDecimalPoint,
  10. CultureInfo.GetCultureInfo("de-DE").NumberFormat));
  11. }
  12. }
Runtime error #stdin #stdout #stderr 0.03s 36528KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Unhandled Exception: System.OverflowException: Value too large or too small.
  at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0 
  at Test.Main () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.OverflowException: Value too large or too small.
  at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0 
  at Test.Main () [0x00000] in <filename unknown>:0