Microsoft Visual C#, C#.Net Interview Questions and Answers
C#.Net C#, ADO, ASP, Frequently asked questions
Sunday, July 5, 2009
How is a property designated as read-only?
Private DataType mPropertyName;
public returntype PropertyName
{
get{
//property implementation goes here
return mPropertyName;
}
// Do not write the set implementation
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment