fork(25) download
  1. using System;
  2. using System.IO;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. string name = "notepad.exe";
  9. string ext = Path.GetExtension(name).Replace(".", "");
  10. Console.WriteLine(ext);
  11. }
  12. }
Success #stdin #stdout 0.02s 33832KB
stdin
Standard input is empty
stdout
exe