What is an indexed property?
Answer / anil sharma
you include the index parameter in the Property statement.
In this example, the test_number parameter is the index for
the Scores property.
Public Class Student
' The private array of scores.
Private m_Scores(9) As Integer
' The indexed Score property procedures.
Public Property Score(ByVal test_number As Integer) As _
Integer
Get
Return m_Scores(test_number)
End Get
Set(ByVal Value As Integer)
m_Scores(test_number) = Value
End Set
End Property
End Class
| Is This Answer Correct ? | 1 Yes | 1 No |
How do you declare static variable and how it is declared and what is its lifetime?
Write a program that accepts an array of numbers and a number, and return a string “Yes” if the number is found in the array, “No” if the number is not found in the array.
What is the feature which is common to all .net languages?
List the two main parts of .net?
what are the difference between An input box and Message box ..?
Described strong typing and weak typing?
Describe about visual basic.net?
Explain the difference between system.string and system.stringbuilder classes?
Explain how to store decimal data in .net?
What are the two main parts of .net?
What are the differences between vb.net and c#, related to oops concepts
What is the role of new keyword?
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)