Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
~121 People Reached
Favorite Forums
So I'm reading from a text file, that contains numbers, but i can only read as string, how can i contain it as int? string[] lines = File.ReadAllLines("C:\\Users\\Temp\\Desktop\\WriteLines.txt"); for (int i = 0; i < lines.Length; i++) { Console.WriteLine(lines[i]); } |