Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is an indexed property?



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

Post New Answer

More VB.NET Interview Questions

wht is the use of console application?

3 Answers   MRB,


Explain enumerator?

0 Answers  


What is an arraylist?

0 Answers  


How would you implement inheritance using vb.net?

0 Answers  


code for export,import,save,update,delete ?

1 Answers  


What is the importance of a Button control?

0 Answers  


Explain about jagged arrarys ?

0 Answers  


Advantage of vb.net over vb ?

6 Answers   Digital GlobalSoft,


Can you please explain the difference between dispose and finalize()?

0 Answers  


Trace and Debug belongs to which namespaces?

5 Answers  


There are three versions of VB6--Learning Edition, Professional and Enterprise. Is VB.Net similar?

1 Answers  


Tell me which namespace are used for accessing the data?

0 Answers  


Categories