How is a property designated as read-only?
Answers were Sorted based on User's Feedback
Answer / ram
if the property has only get accessor that property is
called read only property.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sushain sharma
By ommitting set part of property e.g
class A
{
private int n=5;
public int Number
{
get
{
return n;
}
}
}
| Is This Answer Correct ? | 2 Yes | 2 No |
What is the Difference between Web.config and global.asax? Can we write connection String code in global.asax?
Describe the diffeerence between inline and code behind?
difference between gridview,data list and repeater control
How you will handle session when deploying application in more than a server?
Interface have Default Modifier Is 'Public'.Where We Will Use The KeyWord In Interface?
3 Answers Phoenix Technologies,
How do you use css in asp.net?
what is the use of untyped data set ?
Is it necessary to lock application state before accessing it ?
“~” means in asp.net application?
If you have to replicate a set of controls(UI) across a number of web pages, what will you do
What are the different types of cookies in asp.net?
What is the difference between excute query and excute nonquery.?
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)