Windows Application Windows Application is a user builds an application that can run on a Windows platform. The windows application has a graphical user interface that is provided by Windows Forms. Windows forms provide a variety of controls including Button, TextBox, Radio Button, CheckBox, and other data and connection controls. You can easily design a windows application using an IDE Microsoft Visual Studio using a variety of languages including C#, Visual Basic, C++, J#, and many more. Web … [Read more...]
Difference Between Method Overloading and Overriding
Method Overloading Method overloading, also known as Function overloading or Compile time polymorphism, is a concept of having two or more methods with the same name but different signature in the same scope. There are many programming languages that support this feature: Ada, C++, C#, D, and Java. Example of Method Overloading in C# As shown in the above example, the method 'Polygon' is overloaded 3 times with different method signature, i.e the type or the number of parameters are … [Read more...]
Difference Between Interface and Class
Class Class is a user-defined data type that allows the grouping of data members, methods, properties, and events. A class is nothing but a blueprint that defines data and behaviour. Objects are instances of the class. In C#, classes are defined using the 'class' keyword followed by the class name that contains the body of a class surrounded by curly braces. Every class has a constructor that has the same name as the class and called automatically at the time of instantiating a … [Read more...]
Difference Between Abstract class and Interface in C#
Abstract Class An abstract class is one that is intended only to be a base class of other classes. The 'abstract' modifier is used to make a class abstract. An abstract modifier indicates that there is some missing implementation that needs to be implemented in the class derived from it. The abstract class can have abstract and non-abstract members. An abstract class should have at least one abstract method, otherwise, there is no use of declaring that class as 'abstract.' Example of … [Read more...]
Difference between SOAP and REST
Simple Object Access Protocol (SOAP) Simple Object Access Protocol is a lightweight, XML-based protocol used to exchange information over the Internet between programs running in same or different operating system. SOAP messages can be transported using a variety of protocols, including HTTP, SMTP or MIME. All SOAP messages use the same format making it compatible with a variety of operating systems and protocols. Why to use HTTP protocol for SOAP messages? Traditionally, HTTP protocol is … [Read more...]