How can you implement encapsulation in asp.net?

Answer Posted / madhuparna bhaumik

1)Encapsulation is a concept of Object oriented programming
2)It means that all of the object's data that is contained
and hidden in the object and access to it restricted to
members of that class.


We can implement encapsulation using State handling in
methods

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define the types of configuration files.

715


Explain what the contents of cookie?

776


What are the Types of chaching. How to implement caching

755


If I am developing an application that must accomodate multiple security levels though secure login and my asp.net web application is spanned across three web-servers (using round-robin load balancing). What would be the best approach to maintain login-in state for the users?

830


What is Bundling and Minification in MVC?

764


What are the features of asp net?

695


Why do we need url encoding?

708


What are directives in asp.net? List down all the important directives.

686


Explain how cookies work.

779


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

647


Where web.config file is used?

744


How can you handle errors in Web API?

792


can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it

1660


What are the modes of updation in an updatepanel?

725


Is asp.net a programming language?

719