How can you implement encapsulation in asp.net?
Answers were Sorted based on User's Feedback
Encapsulation is the concept of OOPS and it is very simple
we can hide data by using Access Modifires like Private
Protected......
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / som
Encapsulation is binding data together ..
like in one class we bind different methods and object.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / 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 |
Answer / rahul kumar
I Java.....
Encapsulation is a mechanism which binds together or
associate together codes or instance variable and methods in
such a way that the instance variable must be encapsulated
and method made publicly open so that the end user can
access the object through defined methods only to ensure
that the define methods is saved for long term or period.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / amey
Encapsulation - is the ability of an object to hide its data
and methods from the rest of the world. It is one of the
fundamental principles of Oops.
Ex:- Using System.Data.Sql;
Above example show Hiding all the details from the rest of
the world.
| Is This Answer Correct ? | 6 Yes | 14 No |
What is the difference between adding reference in solution explorer and adding references by using ?
What is the state management in asp.net?
How would you implement inheritance using VB.NET/C#?
Explain the function of new view engine in asp.net? : asp.net mvc
hi i am varinder. i am very eager to learn ASP.net in C#. i am beginer to it. i have refer some books but i found it tuff to understand. their language is tuff. So please tell me the best site or best book to learn ASP.net in C#. i will be very thankful. Varinder
what are the ways to improve performance in .net application?
Describe the events in the life cycle of a web application.
What are the various ways of securing a web site that could prevent from hacking etc ?
How can we inherit a static variable?
In how many ways we can retrieve table records count?
What is owin authentication?
How would one do a deep copy in .NET?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)