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 #107.41K
~90 People Reached
Favorite Forums
I am writing a program that will constantly be reading information from a disc in the disc drive. To accomplish this, I am using the following code. [CODE] if (Directory.Exists(@"D:\")) { DirectoryInfo LookingAtDir = new DirectoryInfo(@"D:\"); FileInfo[] Files = LookingAtDir.GetFiles("*.txt"); foreach (FileInfo IndividualFile in Files) { File.ReadAllBytes(IndividualFile.FullName); File.ReadAllLines(IndividualFile.FullName); File.ReadAllText(IndividualFile.FullName); } … |