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
//Here I need to write LINQ statement and replace below code
For Each item As GroupSelect In grpSelectionList
If item.RowNo = rowNo And item.GroupNo = grpNo Then
grpSelectionList.Remove(item)
End If
Next