What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » c# Read text file

c# Read text file
Author: Message:
Mnjul
forum super mod
******

Avatar
plz wub me

Posts: 5396
Reputation: 58
– / Other / Flag
Joined: Nov 2002
Status: Away
RE: c# Read text file
You could use File.ReadAllLines to read the contents of the file to an array of string, each element a line, and access the last char of the second-to-last line using lines[lines.Length-2][lines[lines.Length-2].Length-1] (a bit messy, hope you figure it out :P)
10-07-2009 04:59 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
c# Read text file - by djdannyp on 10-07-2009 at 02:34 PM
RE: c# Read text file - by Mnjul on 10-07-2009 at 04:59 PM
RE: c# Read text file - by Ezra on 10-07-2009 at 09:35 PM
RE: c# Read text file - by djdannyp on 10-08-2009 at 12:37 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On