What are Classes? - .NET

What are Classes?

A class is a blueprint or a template for an object. For example, a flat plan on paper with all details like no. of room, sizes, floors is a blueprint of the actual flat. Here the flat plan is a class and actual flat is an object.

Class members

Fields: Set of variables
Constants: Set of constants
Constructors: A method that initializes the class
Properties: Set of data of an object
Events: Methods fire on user action
Methods: Set of functions of class
Destructor: A method that is called when a class is destroyed
What is Encapsulation? - .NET
.NET What is Encapsulation?- The data of an object should never be made available to other objects....
Session state management options available with ASP.NET
ASP.NET - Session state management options available with ASP.NET - ASP.NET provides In-Process and Out-of-Process state management..
Methods fired during the page load - ASP.NET
ASP.NET Methods fired during the page load - Init() - when the page is instantiated....
Post your comment