Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@karno
Created August 20, 2013 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karno/6277982 to your computer and use it in GitHub Desktop.
Save karno/6277982 to your computer and use it in GitHub Desktop.
var file = File.ReadAllText(@".\setting.txt")
.Split("\r\n")
.Select(t => t == "TRUE")
.ToArray();
dat = file[0];
dat2 = file[1];
dat3 = file[2];
dat4 = file[3];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment