Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How is a property designated as read-only?
How is a property designated as read-only?
✍: Guest
In VB.NET:
Public ReadOnly Property PropertyName As ReturnType
Get ‘Your Property Implementation goes in here
End Get
End Property
in C#
public returntype PropertyName
{
get{
//property implementation goes here
}
// Do not write the set implementation
}
2014-02-07, 1958👍, 0💬
Popular Posts:
interview.FYIcenter.com offers a collections of interview questions and answers for software and Web...
What is the difference between delegate and events? ã Actually events use delegates in bottom. But ...
What Does a HTML Document Look Like? A HTML document is a normal text file with predefined tags mixe...
what is a service contract, operation contract and Data Contract? - part 1 In the below sample we ha...
How Do You Uninstall JUnit Uninstalling JUnit is easy. Just remember these: Delete the directory tha...