public OverlappingRectangles(string file)
     : this(FileHelper.OpenFile(file))
 {
 }
Exemple #2
0
 public SetIntersection(string file)
 {
     _lines                                                             = from line in FileHelper.OpenFile(file)
                                      let lists                         = line.Split(new [] { ';' }).ToArray()
                                                              let first = lists[0].Split(new [] { ',' })
                                                                          let second = lists[1].Split(new [] { ',' })
                                                                                       select Tuple.Create(first, second);
 }
 public RightmostChar(string file)
 {
     _lines                         = from line in FileHelper.OpenFile(file)
                          let parts = line.Split(new [] { ',' }).ToArray()
                                      select Tuple.Create(parts[0], parts[1]);
 }