Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi all plz explain me wt does this code mean?

Dim Selectedlist As List(Of Control) = New List(Of Control)
Posted
Comments
OriginalGriff 7-Nov-10 6:04am    
"i declared that Dim Selectedlist As List(Of Control) = New List(Of Control) this coding but its shoing some error,, can u tell me wt is that error means,and what i want to for rectify from that error"
What error did it give? When did it give it?
Simon_Whale 8-Nov-10 4:11am    
Without specifying the error message no one will be able to explain what the error means and how to solve it

1 solution

It declares a variable called "SelectedList", which refers to a List which can only contain Controls and classes derived from Control. It then assigns a new, empty list of Controls to it.

"i declared that Dim Selectedlist As List(Of Control) = New List(Of Control) this coding but its shoing some error,, can u tell me wt is that error means,and what i want to for rectify from that error"

What error did it give? When did it give it?
 
Share this answer
 
v2
Comments
sameertm 7-Nov-10 5:59am    
i declared that Dim Selectedlist As List(Of Control) = New List(Of Control) this coding but its shoing some error,, can u tell me wt is that error means,and what i want to for rectify from that error

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900