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 |
which one is faster execute reader, scalar, execute non query ?
Differentiate the session object and application object?
whats the best method to cal id in javascript
What is the difference between cookie and session?
Differentiate between file-based dependency and key-based dependency.
Can one dll file contains the compiled code of more than one .net language?
What parameters can you pass in the url of the api?
What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?
What is difference between viewstate and session state in javascript?
How will create assesblies at run time?
How will you load dynamic assembly?
Why and where this web.config file is used?
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)