fork download
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using CeVIO.Talk.RemoteService;
  7.  
  8. class Talker
  9. {
  10. SpeakingState Speak(String text);
  11. }
  12. class program
  13. {
  14. //Talker インスタンス作成
  15.  
  16. Talker = new Talker();
  17.  
  18. class talk
  19. {
  20. Talker.Speak("さとうささらです。")
  21. }
  22.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(16,12): error CS1519: Unexpected symbol `=' in class, struct, or interface member declaration
prog.cs(16,18): error CS0106: The modifier `new' is not valid for this item
prog.cs(16,18): error CS1520: Class, struct, or interface method must have a return type
prog.cs(20,21): error CS1519: Unexpected symbol `(' in class, struct, or interface member declaration
prog.cs(22,2): error CS1519: Unexpected symbol `end-of-file' in class, struct, or interface member declaration
prog.cs(22,2): error CS8025: Parsing error
Compilation failed: 6 error(s), 0 warnings
stdout
Standard output is empty