fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApplication
  8. {
  9. class Program
  10. {
  11. private static string method1(string name, double salary)
  12. {
  13. salary = (int)Math.Ceiling(salary);
  14. return Console.WriteLine( name, "you get ", salary);
  15.  
  16.  
  17.  
  18. ... }
  19.  
  20. public static void Main()
  21. {
  22.  
  23. Console.WriteLine(method1("boy",14));
  24.  
  25. }
  26. }
  27.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(18,4): error CS1525: Unexpected symbol `.'
prog.cs(26,246): error CS1525: Unexpected symbol `end-of-file'
Compilation failed: 2 error(s), 0 warnings
stdout
Standard output is empty