Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / gitesh sankhe

Encapsulation has two faces; data abstraction and
information hiding. Data abstraction is a type seen from
the outside. Information hiding is a type seen from the
inside.

Abstraction focuses on the outside view of an object (i.e.
the interface)
Encapsulation (information hiding ) prevents clients from
seeing its inside view, where the behavior of the
abstraction is implemented

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of dependency injection?

930


What are the uses of namespaces?

957


Why constructor is used in c#?

849


What is a private class in c#?

1022


Is system a class in c#?

869


Is type nullable c#?

880


Is array ienumerable c#?

821


Can you access a hidden base class method in the derived class?

867


What is data reader in c#?

993


What is the difference between ienumerable and enumerable?

850


Difference between Value type & reference types ? and give the example in .Net?

875


What is int parse in c#?

907


How to prevent the error while updating ui control from another thread?

908


Which class does the remote object has to inherit?

1008


What is difference between array and arraylist in c#?

886