what r the properties should be given to set method?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / santosh prasad
The procedures that are described in the get method and
that methods are given in the set method.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the difference between compiler and interpreter?
How do you declare static variable and how it is declared and what is its lifetime?
What are the two main parts of .net?
what is vb,net
what are the types of threading models in VB.net ?
List the different types of assembly?
What is MSIL.
Write program in VB.Net with SQL Server and Crystal Reports to develop a small windows application to add,edit,save, search and print Employee Information and send sourcecode as zip file. empcode : .............. empname : .............. dateofjoin : dd/mm/yyyy dateofbirth : dd/mm/yyyy TableName: EmpMaster EmpCode EmpName DOB DOJ TableName: EmpDocs EmpCode DocNo DocName ExpDate
What is "Friend" in VB.Net?
What do you mean by serialization and deserialization and it's use.
What is trace in vb.net?
What are the types of generations in garbage collector?
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)