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 |
how many session modes are available?some brief explnation
Describe the method to create a permanent cookie?
What is session handling in a webfarm, how it can work with its limits?
Explain the difference between debug.write and trace.write? When should each be used?
Why does a user need nothing more than a Web browser to view ASP.NET pages?
what is the difference b/w .net 1.1 and 2.0 ?
What is view state and how this can be done and was this there in asp?
11 Answers Accenture, KDOT, Mphasis,
What is an assembly? Explain its parts.
Can I read the hard disk serial # of the client computer using asp.net?
Explain the use of dataadapter.
what are the main advantage in .net?
What is the difference between debug and release?