ViewState is responsible for maintaining data across the Page Post Back
Does ViewState is responsible for maintaining data across the Page Post Back for Postback controls (like textbox, dropdownlist) and non-postbackcontrols(like label)?
It is false. For NonPostback controls it is true but for postback controls, ASP.NET retrieves their values one by one from the HTTP request and copies them to the control values while creating the HTTP response.
Compete in Cloud Code Contests, Win Cash
CloudSpokes is a new dev community, focused exclusively on cloud platforms. Come develop new skills with real world contests and win cash for winning entries. Join us!
Interview Question :: garbage collector in .NET?
When should you call the garbage collector in .NET?
Garbage collection is a process of releasing the memory used by the objects, which are no longer referenced. This is done in different ways and different manners in various platforms and languages. We will see how garbage collection is being done in .NET.