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 |
Types of caching. How to implement caching?
What is syntax code to send email from an asp.net application?
Explain the difference between or and orelse?
What are the modes of updation in an updatepanel?
Uses of CLR ?
2 Answers Mind Tree, PH Software, TCS,
difference between gridview,data list and repeater control
What is CTS, CLS and CLR ?
20 Answers CGI, Palm Technology, Reliable Technology, Satyam, Synergy, TCS,
How can i include both C# and vb.net classes in same solution?
What is an il?
Is data can be edited in the Repeater control?
What is difference between machine.config and Web.Config?
4 Answers Accenture, BirlaSoft, Le Logiciel,
Disable Mouse right click on web page in asp.net?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)