I need to open the file and using streamreader need to read only 1st line and close the file and to store the first line in string

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.