Abstraction in OOPs

Abstraction is one of the principle of object oriented programming . It is the concept of display only the necessary and essential features of an object .You can find the concept of Abstraction in your real world in many instances . Example for Real world Example : The simple and well known example is steering… Continue reading Abstraction in OOPs


Sealed Classes in Object-Oriented Programming

Generally if we create classes we can inherit the properties of that created class in any class without having any restrictions. In some situation we will get requirement like we don’t want to give permission for the users to derive the classes from it or don’t allow users to inherit the properties from particular class… Continue reading Sealed Classes in Object-Oriented Programming

System.stringbuilder Vs. System.string?

System.String is immutable whereas System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed. Append keyword is used in string builder but not in system.string.Immutable means once we created we cannot modified. Suppose if we want give new value to old value simply it will discarded… Continue reading System.stringbuilder Vs. System.string?