text file data we need in column way using c#

Jan 15 2014 6:27 AM
 sir ,,,I have multiple text files each having two columns data with headings .I have merged all those files into one .now all the text files got merged and results into a single text file "output.txt" In this text file each file is added at the end of first file with its heading and data .
Like this :

WavelengthS100141.asd
325 0.015082292401682 
326 0.011690540571175 
327 1.06575414031349E-02 
328 1.30298010496599E-02 


WavelengthS100144.asd
325 1.35059549289737E-02 
326 0.010981114226419 
327 1.22348778870862E-02 
328 1.63555124470031E-02 



WavelengthS100147.asd
325 1.35059549289737E-02 
326 0.010981114226419 
327 1.22348778870862E-02 
328 1.63555124470031E-02 




I want the result to appear like this :

Wavelength      S100141.asd                    S100144                         S100147
325      0.015082292401682           1.35059549289737E-02  1.35059549289737E-02 
326     0.011690540571175             0.010981114226419              0.010981114226419 
327     1.22348778870862E-02       1.06575414031349E-02         1.22348778870862E-02 
328    1.63555124470031E-02      1.30298010496599E-02          1.63555124470031E-02





anybody can help 

Answers (8)