Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

Collection Basic

Language: Layout:
- ] Show input
Compilation time: 0.08 sec, absolute running time: 0.08 sec, cpu time: 0.06 sec, average memory usage: 22 Mb, average nr of threads: 5 
fork mode |  history  | discussion
Error(s):
Exception in user code:

System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
   at System.Console.ReadKey(Boolean intercept)
   at Rextester.Program.Main(String[] args)
Enter list items
list is added ---------------------------------------------------------------------------------------------------------------
List Contents

shashank
shravan
Raman
Miller