private void observeValueForKeyPath(NSString keyPath, NSArrayController ofObject, NSDictionary change, IntPtr context) { Console.Write(String.Format("Table selection changed: keyPath = {0} : ", keyPath.ToString())); for(uint idx = 0; idx < ofObject.SelectionIndexes.Count; idx++) { Console.Write(ofObject.SelectionIndexes.IndexGreaterThanOrEqual(idx) + " "); } Console.WriteLine(); }