what r the properties should be given to set method?
Answer Posted / venkatesh
Class Class1
' Define a local variable to store the property value.
Ans: Only One Property.
example:
Private PropertyValue As String
' Define the property.
Public Property Prop1() As String
Get
' The Get property procedure is called when the
' value
' of a property is retrieved.
Return PropertyValue
End Get
Set(ByVal Value As String)
' The Set property procedure is called when the
' value
' of a property is modified.
' The value to be assigned is passed in the
' argument to Set.
PropertyValue = Value
End Set
End Property
End Class
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Define serialization in .net?
What is portable executable?
Explain the difference between datatable and dataset?
What is meant by jagged arrays?
Explain jit?
What is internal keyword in .net framework?
What is the class that allows an element to be accessed using unique key?
What is globalization?
Explain the use of new keyword?
What are the different types of Lock available in Visual Basic?
Described strong typing and weak typing?
what is common type system?
Can you please explain the difference between dataset and datareader?
Explain how to achieve polymorphism in vb.net?
what is diffrence constructor and destructor in vb