Public Class MyList Inherits List(Of MyObject) Public ReadOnly Property SelectedCount() As Integer Get Return Me.Count(Function(obj) obj.IsS
To answer #4, this works fine in C#:
public class MyObject { public bool IsSelected { get { return true; } } } public class MyList : List { public int SelectedCount { get { return this.Count(x => x.IsSelected); } } }