You could also try with
If ConnectedUsers.Where(Function(x) x.ConnectionId = id).Count = 0 Then
Console.WriteLine("bingo")
end if
Or force your ConnectedUsers list to an IEnumerable and call the correct Count method
if ConnectedUsers.AsEnumerable().Count(Function(x) x.ConnectionId = id) Then
Console.WriteLine("bingo")
end if