How do we make a poperty read only?
Answer / jitender
Suppose we have a property BarColor
the to make it read only use
private string color;
public string BarColor
{
get
{
return(color);
}
} // No need to set it
Is This Answer Correct ? | 5 Yes | 0 No |
What is the equivalent of date() and time() in asp.net?
What are client activated objects and server activated objects?
Explain how do you validate the controls in an asp .net page?
What is strong-typing versus weak-typing? Which is preferred? Why?
What is the meaning of TestApi?
what is CLR?
In Code-Behind class which kind of code (server or client) is found ?
What is the difference between rest and restful?
How we can force all the validation controls to run?
WHT IS DIFFERENCES BETWEEN HTML CONTROLS AND SERVER CONTROLS.
Types of objects in ASP?
Which tab of the web site administration tool do you use to manage application setting ,debug and tracing?