how we declare interface
Answers were Sorted based on User's Feedback
Answer / merinkmathew
public interface Iproduct
{
string ID
{
get;
set;
}
double Price { get; set; } double
CalculatePrice();
}
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / venu
public interface Service
{
int add(int a,int b);
int mul(int c,int d);
}
by default access modifiers in nethods are public
Is This Answer Correct ? | 0 Yes | 0 No |
What does AspCompat="true" mean and when should I use it?
Give an example of cookie abuse.
How many types is controls is there in Asp.Net?If it means what are types of custom controls?Explain about user controls,Web server controls,Hrml server controls?
Which method is used to enforce garbage collection in .net?
What are the different validators in asp.net?
What are the HTML server controls in ASP.NET?
What is the sequence of operation takes place when a page is loaded ?
What is parse in asp.net?
What are the benefits of Razor View?
what are Httpmodule and HttpHandler?
How does exception management works in ASP.NET?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?