fork(2) download
  1. using System;
  2. using System.Collections.Generic;
  3.  
  4. public class Test
  5. {
  6. public static void Main()
  7. {
  8. List<int> list = new List<int>() { 1, 2, 3, 4, 5, 6, 7 };
  9. Console.WriteLine(list[list.Count - 1]);
  10. }
  11. }
Success #stdin #stdout 0.03s 33928KB
stdin
Standard input is empty
stdout
7