Constructor

Constructor is a special method of a class or struct. When a class or struct is created, its constructor is called. Constructors have the same name as the class or struct, and they usually initialize the data members of the new object.

Encapsulation VS Abstraction

This is a bit confusing while both are like same, cause the definition  where abstraction is showing only necessary and the encapsulation is hiding complexity. It’s seems that they are similar, but actually they’re not, here’s how they are differ: Abstraction: Abstraction is a concept of hiding mechanism (কি লুকাব) Only showing those parts which is necessary. It […]

Accessor

Dictionary Meaning: The meaning of “Accessor” is “Someone or something that accesses”. What is Accessor? In C# programming, the accessor function is like getter accessor (get) and setter accessor (Set) functions. This is used to change the class member access label by set to public. In OOP aspects as it provides an abstraction layer that hides the implementation […]