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
Ajai Ajai
NA
120
0
regarding using statement
May 5 2016 3:09 PM
I have just a stupid question in mind, but i need answer. if i am using "using" statement in c# then its automatically handle try, catch, and finally statement, but if we use "return" statement in try block then its automatically dispose or not before or after return.
Sample code is above
using(dbContext db = new dbContext())
{
return db.users.tolist();
}
Reply
Answers (
2
)
how to hide the progress bar when 100% is completed
bluetooth group voice chat