What is the Use Of Interfaces?
For example I have a interface as shown below?
public void MyMethod();
class MyClass : IMyInterface
public void Mymethod()
static void Main(string args)
MyClass obj = new MyClass();
Here What is My Question is?
If i remove Interface and run this code, it will executed then what is the Use
of the interface? Can any one give me the solution for this Problem?
Thanks in Advance!
i have a table named login in mysql database containing
i have 2 textboxes in which i enter my username and pwd..so
based on what is entered in those textboxes it should
retreive all other details of dat username in the remaining
6 textboxes..i want the code for this...
Write a console application and implement the ternary operator to decide whether the
age a user entered after being prompted is allowed to vote or not(given that only citizens
between 18 and 120 years only inclusive can vote). Use exception handling for non-numerical