I have a class having 2 properties (both integers) and storing class into List collection.
Public Class GroupSelect
Public Property RowNo() As Integer
Get
Return m_RowNo
End Get
Set(ByVal value As Integer)
m_RowNo = value
End Set
End Property
Private m_RowNo As Integer
Public Property GroupNo() As Integer
Get
Return m_GroupNo
End Get
Set(ByVal value As Integer)
m_GroupNo = value
End Set
End Property
Private m_GroupNo As Integer
End Class
Ex:
RowNo GroupNo
1 1
2 1
4 2
How to find each item in "GroupNo" has more than ONE TIME. In above example 2 is only one time, So return 'FALSE"
RowNo GroupNo
1 1
2 1
4 2
5 2
Here I need return "TRUE". (values in "GroupNo" is not static and not in sort).
How can we do that in vb.net?