I want to know how to make a text file and read it in a program like this.

Say I make the text file to read

name Number GPA

then I want to be able to add to it, and read from it. I also want to be able to read from it and sort the entrees depending on name number or GPA. I'm fairly new to this so can someone please assist me? Thank you.

Just a heads up for you this isn't really a tutor site. This is more for helping with specific problems within code that's already written. If you google( or bing, or yahoo, or whatever) 'C# tutorials' you should be able to find quite a few resources that are better designed to help you. Once you've written your code and have trouble making it work right, people here will be more than willing to help you.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.