TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Dinesh Santhalingam
NA
737
367.5k
Read a text file to string
Jan 19 2017 7:47 AM
I read a text from a text file and stores in an Array.
string[]
lines
=
System
.IO.File.ReadAllLines(@"D:\as\testingfile");
Here I stores the text file contents into the String array.The text file contains some empty lines .I want to skip the line and copy the content from the text file to string.Can anyone help me to solve this?
Reply
Answers (
3
)
pdf file search and highlight
How to pass qr image from picture box to RDLC report