LiveEdu Quiz of the Day: 04/01/2017

Read Time:38 Second

C# Quiz: A mechanism that binds together code and data in manipulates, and keeps both safe from outside interference and misuse. In short it isolates a particular code and data from all other codes and data. A well-defined interface controls the access to that particular code and data. What’s the name of this mechanism?

Answer:

C)

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.

If you want to explore more, visit our C# edu & tutorials section!

Below are some examples:

C# E-Commerce

Automate word template population in C#

Source: https://educationecosystem.com/blog/liveedu-quiz-day-04012017-c-csharp/


You might also like this video