Created
November 10, 2019 09:52
-
-
Save cosminpopescu14/6a241b91fc16999cfa7135ea7a1a2264 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string[] AllLines = File.ReadAllLines(path); // incarca mult memroia procesului. | |
//Console.WriteLine(AllLines); | |
Parallel.ForEach(AllLines, line => | |
{ | |
float x = float.Parse(line.Split("\t")[0]); | |
float y = float.Parse(line.Split("\t")[1]); | |
float res = x / y; | |
//Console.WriteLine(x / y); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment