Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
23 Nov 2012dax88 2 alternatives
I have text file text.txt with values:1 2 32 2 52 4 63 5 73 3 86 2 44Each row need to put in one stringI have this code;StreamReader dFile = null; dFile = new StreamReader("Broj2.txt"); char[] SPACE = new char[] {' ' }; ...
23 Nov 2012Bhushan Shah1988
you can do something like below: while(dFile.ReadLine()){ a = dFile.ReadLine(); data = a.Split(SPACE);}