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 difference between web config and global asax?
How many types of controls are there in asp.net?
How to automatically get the latest version of all the asp.net solution items from source safe when opening the solution?
How do u optimize a query in asp.net?
Which method is used to force all the validation controls to run?
Explain Features in ASP.NET
How to create discussion forum in asp.net mvc? : Asp.Net MVC
Who can consume WebAPI?
When does the application ONEND event handler fire?
1 Answers C Squared Systems, Verinon Technology Solutions,
True or False: A Web service can only be written in .NET?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
What are uri parameters?
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)