Author Archives: f10debug

What is Interface in ?

By | December 10, 2017

What is Interface in Interface is a type which contains only the signatures/declaration of methods/functions, delegates or events. Declaration /signature of methods meaning method having no implementation as follows, void Display(string name); //By Default interface member is Public It does not contain implementation of methods. Implementation of the methods is done by the class… Read More »

Abstract Class in C#

By | December 9, 2017

Abstract Class in C# a) Classes can be declared as abstract class by using abstract keyword. b) Abstract class is designed to act as a base class (to be inherited by other classes).Abstract class is a design concept in program development and provides a base upon which other classes are built. c) Abstract class does not allow… Read More »

Interview Questions on Inheritance in C#.Net

By | November 19, 2017

Interview Questions on Inheritance in C#.Net 1) What is inheritance hierarchy? In Inheritance, The class which derives fundamental functionality from base class (Parent class) is called as derived class (Child class). This derived class can also be act like base class for another class. There for, it is possible to create tree-like structure that illustrates… Read More »

Advantages of method Overloading in C#.Net

By | November 19, 2017

Advantages of method Overloading in C#.Net Or When/Why to Use Method Overloading in C#.Net Suppose you get one program to create a method which can do sum of two numbers, three numbers & four numbers by passing parameters. So you will end up writing following methods, Public void SumTwoNumbers(int a, int b) { } Public… Read More »

Polymorphism in .Net and Types of Polymorphism in .Net

By | November 18, 2017

Polymorphism in .Net and Types of Polymorphism in .Net Polymorphism means having more than one form. It means same operation may behave differently on different classes. It is classified into compile time polymorphism or early binding or static binding and Runtime polymorphism or late binding or dynamic binding. 1) Static/early Binding /Compile Time Polymorphism: The mechanism… Read More »

What is Encapsulation

By | November 17, 2017

What is Encapsulation? Abstraction Vs Encapsulation It’s wrapping of data members and functions into a single unit called as class. An encapsulated object is often called an abstract data type. Advantage: Encapsulation can protect your data from accidental corruption Example: Let’s take example of substring() function which returns the string based on the start index and… Read More »

What is Abstraction in

By | November 17, 2017

What is Abstraction in Abstraction refers to the act of representing essential features without including the background details or explanations. Abstraction defines way to hide your data and members from outside world. This is achieved by means of access specifies. e.g.: Interface Abstraction is used to create a common set of methods that might… Read More »

enable disable kendo datepicker in MVC

By | November 17, 2017

Suppose you have a kendo Datepicker on UI and you want to disable / enable it on some click events then just use below syntax to enable disable kendo datepicker in MVC. For Enabling use below syntax, $(‘#date1’).data(‘kendoDatePicker’).enable(true); For disabling kendo DatePicker control use below syntax, $(‘#date1’).data(‘kendoDatePicker’).enable(true); Here $(‘#date1’) is the control name of datepicker,… Read More »