public static T Select <T>(string message, IEnumerable <T> items, int?pageSize = null, object defaultValue = null, Func <T, string> valueSelector = null) { using var form = new Select <T>(message, items, pageSize, defaultValue, valueSelector ?? (x => x.ToString())); return(form.Start()); }