Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Dictionary<string, Dictionary<string, int>> definitionen =
- File.ReadAllLines ("test.txt").Select (line => line.Split (';')).ToDictionary (
- linearr => linearr [0].ToLower () + linearr [1],
- linearr => linearr.Skip(2).Select ((e, s) => new { e = e, s = s }).ToDictionary (o => o.e.Trim (), o => o.s - 2)
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement