fork(1) download
  1. using System;
  2.  
  3. public class C {
  4. public static int Main() {
  5. var conta = new Conta();
  6. var txtValor = new Form();
  7. bool retorno;
  8. if ((retorno = conta.Saca(Convert.ToDouble(txtValor.Text)))) {
  9. Console.WriteLine(retorno);
  10. return 1;
  11. }
  12. return 0;
  13. }
  14. }
  15.  
  16. public class Conta {
  17. public bool Saca(double x) => true;
  18. }
  19.  
  20. public class Form {
  21. public String Text;
  22. }
  23.  
  24. //https://pt.stackoverflow.com/q/206902/101
Runtime error #stdin #stdout 0.02s 16020KB
stdin
Standard input is empty
stdout
True