Home > Software > .NET > C-Sharp
Interview Questions   Tutorials   Discussions   

C-Sharp - How encapsulation and abstraction defined/used in C#.NET?




312
views
asked mar October 4, 2014 05:39 AM  

How encapsulation and abstraction defined/used in C#.NET?


           

1 Answers



 
answered By siddhant   0  

Encapsulation and abstraction is the advanced mechanism in C# that lets your program to hide unwanted code within a capsule and shows only essential features of an object. Encapsulation is used to hide its members from outside class or interface, whereas abstraction is used to show only essential features.

In C# programming, Encapsulation uses five types of modifier to encapsulate data. These modifiers are public, private, internal, protected and protected internal. These all includes different types of characteristics and makes different types of boundary of code.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview

 Write A Tutorials
Online-Classroom Classes
www.writeabc.com


  1 person following this question

  Question tags

c-sharp × 1

Asked 2 years and 3 months ago ago
Number of Views -312
Number of Answers -1
Last updated
3 years and 2 months ago ago

Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert