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
Manish Jain
1.3k
414
9.4k
How to dispose an object created by FileInfo class
Oct 13 2014 5:03 AM
I am using a FileInfo class to get the length of the file as follows:
FileInfo infoFile = new FileInfo(configFile);
long configFileLength = infoFile.Length;
here configFile is the path of the file.
I want to dispose the object infoFile.
How can i do this?
Reply
Answers (
1
)
How can I change the mathematicalexpression in C++?
Why does the compiler give error to my Code?