-Encapsulation and Abstraction is the advanced mechanism in c# that lets your program hide unwanted code within a capsule and show the only essential feature of an object.
-Encapsulation is used to hide its members from outside class or interface.
-abstracter is used to show only essential features.
-Encapsulation is a process of hiding irrelevant data from the user for example whenever you buy a mobile you don't see how circuit Bord work. You are also not interested to know how a digital signal converts into an analog signal and vice versa which is irrelevant information.
-abstraction is just the opposite of encapsulation. Abstraction is a mechanism to show only relevant data to the user for example whenever you buy a mobile you see a different type of functionality like a camera, Mp3 Player, calling function, recording function, multimedia, etc. it is abstract.
-Encapsulation is used to hide its members from outside class or interface.
-abstracter is used to show only essential features.
-Encapsulation is a process of hiding irrelevant data from the user for example whenever you buy a mobile you don't see how circuit Bord work. You are also not interested to know how a digital signal converts into an analog signal and vice versa which is irrelevant information.
-abstraction is just the opposite of encapsulation. Abstraction is a mechanism to show only relevant data to the user for example whenever you buy a mobile you see a different type of functionality like a camera, Mp3 Player, calling function, recording function, multimedia, etc. it is abstract.
