Vijay

Vijay

  • NA
  • 150
  • 90.6k

How to Read&Write file for sort the string names in file

Jul 19 2013 12:35 AM
How to read and write the file for sorting the string names in source file and want to write it on target file in C# using Windows Form Application ?


            * The Source file(*.txt) was already created and it contains
                           
Hockey
BAsketball
Football
Tennis
Cricket

          * I want to read a source file using streamwriter and also sort the strings in alphabetically

          * That sorted string values write on the another target file(*.txt) using streamwriter


plz help this.....

Thanks !!

Answers (9)