Babylon to Excel


/ Published in: C#
Save to your folder(s)



Copy this code and paste it in your HTML
  1. private void ReadInfo(string fileName)
  2. {
  3. StreamReader sr = new StreamReader(fileName);
  4. while (sr.Peek() >= 0)
  5. {
  6. string word = sr.ReadLine();
  7. string definitions = sr.ReadLine();
  8.  
  9. string[] defColl = definitions.Split('/');
  10.  
  11. WriteToExcel(word, defColl);
  12. }
  13. }
  14.  
  15. private void WriteToExcel(string word, string[] defColl)
  16. {
  17. //http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/ef11a193-54f3-407b-9374-9f5770fd9fd7
  18. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.