fork(1) download
  1. using System;
  2. using System.Text;
  3.  
  4.  
  5. internal class Program
  6. {
  7. private static void Main(string[] args)
  8. {
  9. Console.WriteLine("d".Repeat(5));
  10. }
  11. }
  12.  
  13. internal static class Extensions
  14. {
  15. public static string Repeat(this string str, int n)
  16. {
  17. if (n <= 0) return String.Empty;
  18. var sb = new StringBuilder();
  19. while (n-- > 0)
  20. sb.Append(str);
  21. return sb.ToString();
  22.  
  23. }
  24. }
  25.  
Success #stdin #stdout 0.03s 23936KB
stdin
Standard input is empty
stdout
ddddd