private static void AddPlace(Graph.Graph graph) { foreach (var ln in _data1) { List <String> data = ln.Split("|").ToList(); graph.AddPlace(new Place((data[1].Replace(" ", "")), data[2])); } }