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
What is break mode? What are the options to step through code?
Explain the difference between int and int32?
Explain about the ruby interface generator?
What are the advantages of an assembly?
Name a feature which is common to all .net languages?
What is public assembly?
Explain and brief about rapid application development tool?
Explain about branching logic control in vb.net?
Explain the components of common language runtime.
What is the use of errorprovider control?
What is the significance of delegates. Where should they be used? What are the situations where we require them?
Explain managed code?
Name the two main parts of .net?
What do you mean by deserialization?
Can you please explain the difference between int and int32?