hayateasdf's blog

Unity,C#, javascript,C++,python,batなど

1行csv読み込みw

static string[][] getCsv(string path)
{
  return File.ReadLines(path).Select(x => x.Split(new []{','}, StringSplitOptions.RemoveEmptyEntries)).ToArray();
}