Posts

Showing posts from February, 2021

Abstract class

1.) Abstract class contain definition or Implementation. 2.) Class can inherit from only one abstract class. 3.) Can specify virtual to create own implementations.

Reference & value types in C#

Reference Type   Objects that stores the reference of the actual data.  (e.g) Classes, Interfaces, objects, strings, delegates. Value Types   Holds the actual value. (e.g)  Struct,bool,enum.