what are the new feature in c# 5.0 ?
where we can use asp.net seesion@view state ?
What are the new feature in c# 5.0
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sunny SharmaRank #223 · 11.1K reputationPosted Jun 12, 2013, 9:14 PM EDT
C# 5.0's big new feature is support for asynchronous functions via two new
keywords, async and await. Asynchronous functions enable asynchronous continuations,
which make it easier to write responsive and thread-safe rich-client applications.
They also make it easy to write highly concurrent and efficient I/O-bound
applications that don't tie up a thread resource per operation.
Here is a good article explaining where to use ViewState, Session etc.:
http://devshop.wordpress.com/2008/04/10/how-to-choose-from-viewstate-sessionstate-cookies-and-cache/
Hope it helps :)
Thanks.
Jignesh TrivediRank #16 · 50.3K reputationPosted Jun 13, 2013, 12:27 AM EDT
hi,
Please refer below link, it might help you.
http://msdn.microsoft.com/en-us/library/hh156499.aspx
http://blogs.msdn.com/b/mvpawardprogram/archive/2012/03/26/introduction-of-new-features-in-c-5-0.aspx
View State is one of useful client side state management mechanism. It is used to store the page value at the time of post back.
http://msdn.microsoft.com/en-us/library/ms972976.aspx
hope this will help you.