using System.Collections.Generic;
public static void Main()
String [] mystring = {"a|qweb|ccc|df gg, g|e|f|g","a|bbb|ccc|df gg, g|e|f|g"};
Console.WriteLine((mystring));
GetLock g1 = new GetLock();
Console.WriteLine(g1.GetLocker(mystring));
public IEnumerable<String> GetLocker(IEnumerable<String> list) {
foreach (string s in list) {
String [] sl = s.Split(new char[] {'|', '\t' });
Console.WriteLine(sl[1]);
foreach (string s in list) {
Locker L5 = new Locker(dd, bb, a);
throw new Exception("a" + a);
public double Speed { get; set; }
public int Count { get; set; }
public string Name { get; set; }
public Locker(double speed, int count, string name)