fork(6) download
  1. using System;
  2. using System.Linq;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. string text = "This is an example summary that we are using as an example.";
  9. string firstTwoWords = string.Join(" ", text.Split().Take(2).ToArray());
  10. Console.WriteLine(firstTwoWords);
  11. }
  12. }
Success #stdin #stdout 0.03s 33944KB
stdin
Standard input is empty
stdout
This is