.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson
Post New Web Links

How do we use Abstraction and Encapsulation in .net

Posted By:      Posted Date: August 30, 2010    Points: 0   Category :.NET Framework
Hi, I am new to .net. I have been trying to understand the basic concepts of OOPs so as to learn .net. So far i have understood the following : Abstraction : Its basically showing the essential information while hiding the non essential one. Encapsulation : Its wrapping of data members and its fn in a class. But I am not pretty satisfied with the explanations I have given above. Can anyone pls suggest a proper explanation of this concept in terms of .net. Please also tell how do we implement these in .net.   Thanks in advance. Tiya  

View Complete Post

More Related Resource Links

DIME: Sending Files, Attachments, and SOAP Messages Via Direct Internet Message Encapsulation


Direct Internet Message Encapsulation (DIME) is a new specification for sending and receiving SOAP messages along with additional attachments, like binary files, XML fragments, and even other SOAP messages, using standard transport protocols like HTTP. In this article, the author explains what DIME is and how it differs from MIME encapsulation. A detailed description of the message format and how it is parsed, as well as working with SOAP and extending it with WSDL, is also included.

Jeannine Hall Gailey

MSDN Magazine December 2002

AOP: Aspect-Oriented Programming Enables Better Code Encapsulation and Reuse


Aspect-oriented Programming (AOP), a paradigm invented at Xerox PARC in the 1990s, lets the developer better separate tasks that should not be inextricably tangled, such as mathematical operations and exception handling. The AOP approach has a number of benefits. First, it improves performance because the operations are more succinct. Second, it allows programmers to spend less time rewriting the same code. Overall, AOP enables better encapsulation of distinct procedures and promotes future interoperation.

Dharma Shukla, Simon Fell, and Chris Sells

MSDN Magazine March 2002

about data abstraction


What is the use of data abstraction? 

where we use in real time scenarios.?

help me


Encapsulation doubt in the code


Hi All,

I am using code like this in Business Logic.Can u explian the below whether i am using Encapsulation concept in the below code.Also tell me why i should use private for declaring variable _Region and public for the property Region

private string _Region;

public string Region
get{return _Region;}



A blog about basics of Encapsulation
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend