What is tryparse?
What is datatable and dataset in c#?
If u declare two interfaces withsame methodnmae .prototype how can u call the particular method from class?
Explain the process of inheriting a class into another class?
What are c# collections?
Give 2 scenarios where static constructors can be used?
What is serialization in dot net?
What is the Use Of Interfaces? For example I have a interface as shown below? Interface IMyInterface { public void MyMethod(); } class MyClass : IMyInterface { public void Mymethod() { Some Code } } class Program { static void Main(string[] args) { MyClass obj = new MyClass(); obj.MyMethod(); } } 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!
What is the main usage of keyword “virtual†? How does it work for a method or property?
What is difference between web and window application?
What is private class in c#?
Which one is trusted and which one is untrusted?
What is data types in c#?